Interface ElementParser

All Known Implementing Classes:
DefaultElementParser, ElementContentElementParser, MimeTypeLoader.ExtensionElementParser, MimeTypeLoader.MimeMappingElementParser, MimeTypeLoader.MimeTypeElementParser

public interface ElementParser
This defines how to process specific xml elements from within a SAX parser.
Version:
$Id: ElementParser.java,v 1.1 2005/01/05 22:20:18 andy Exp $
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    characters(char[] chars, int start, int end)
    Processes the character data between the start and end element tag
    void
    The parser has completed parsing the element - it's reached the end-of-element tag
    void
    Start paring the element
  • Method Details

    • startElement

      void startElement(Attributes attributes)
      Start paring the element
      Parameters:
      attributes - The element's attributes
    • endElement

      void endElement() throws ConfigurationException
      The parser has completed parsing the element - it's reached the end-of-element tag
      Throws:
      ConfigurationException - A generic parsinf failure
    • characters

      void characters(char[] chars, int start, int end)
      Processes the character data between the start and end element tag