public class StAXFeatureHandler extends StAXContentHandlerBase
Modifier and Type | Field and Description |
---|---|
StAXFeatureHandler |
staxenv
Nesting class that provides callback interfaces to nested class
|
Modifier and Type | Method and Description |
---|---|
protected void |
addHandler(ElementRecognizer rec,
StAXHandlerFactory handler)
Adds a feature to the Handler attribute of the StAXFeatureHandler object
|
void |
endElement(String nsURI,
String localName,
String qName,
StAXContentHandler handler)
Handles basic exit processing.
|
void |
endElementHandler(String nsURI,
String localName,
String qName,
StAXContentHandler handler)
Element specific exit handler Subclass to do anything useful.
|
void |
returnData(Object o)
provides a standardised way of returning an
object that represents the result of parsing the
child element
|
void |
startElement(String nsURI,
String localName,
String qName,
Attributes attrs,
DelegationManager dm)
Handles basic entry processing for all feature handlers.
|
void |
startElementHandler(String nsURI,
String localName,
String qName,
Attributes attrs)
Element-specific handler.
|
characters, endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree
public StAXFeatureHandler staxenv
protected void addHandler(ElementRecognizer rec, StAXHandlerFactory handler)
rec
- The feature to be added to the Handler attributehandler
- The feature to be added to the Handler attributepublic void returnData(Object o)
public void startElementHandler(String nsURI, String localName, String qName, Attributes attrs) throws SAXException
nsURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the Parameterattrs
- Description of the ParameterSAXException
- Description of the Exceptionpublic void startElement(String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm) throws SAXException
startElement
in interface StAXContentHandler
startElement
in class StAXContentHandlerBase
nsURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the Parameterattrs
- Description of the Parameterdm
- Description of the ParameterSAXException
- Description of the Exceptionpublic void endElementHandler(String nsURI, String localName, String qName, StAXContentHandler handler) throws SAXException
nsURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the Parameterhandler
- Description of the ParameterSAXException
- Description of the Exceptionpublic void endElement(String nsURI, String localName, String qName, StAXContentHandler handler) throws SAXException
endElement
in interface StAXContentHandler
endElement
in class StAXContentHandlerBase
nsURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the Parameterhandler
- Description of the ParameterSAXException
- Description of the ExceptionCopyright © 2014 BioJava. All rights reserved.