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 TypeMethodDescriptionvoidcharacters(char[] chars, int start, int end) Processes the character data between the start and end element tagvoidThe parser has completed parsing the element - it's reached the end-of-element tagvoidstartElement(Attributes attributes) Start paring the element
-
Method Details
-
startElement
Start paring the element- Parameters:
attributes- The element's attributes
-
endElement
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
-