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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
characters(char[] chars, int start, int end)
Processes the character data between the start and end element tagvoid
endElement()
The parser has completed parsing the element - it's reached the end-of-element tagvoid
startElement(Attributes attributes)
Start paring the element
-
-
-
Method Detail
-
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
-
-