public abstract class LocationHandlerBase extends StAXContentHandlerBase
Constructor and Description |
---|
LocationHandlerBase() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(String nsURI,
String localName,
String qName,
StAXContentHandler handler) |
protected abstract void |
setLocationValue(Location l)
Override this method to do something useful with the
location we collect.
|
void |
startElement(String nsURI,
String localName,
String qName,
Attributes attrs,
DelegationManager dm) |
characters, endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree
public LocationHandlerBase()
public void startElement(String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm) throws SAXException
startElement
in interface StAXContentHandler
startElement
in class StAXContentHandlerBase
SAXException
public void endElement(String nsURI, String localName, String qName, StAXContentHandler handler) throws SAXException
endElement
in interface StAXContentHandler
endElement
in class StAXContentHandlerBase
SAXException
protected abstract void setLocationValue(Location l) throws SAXException
SAXException
Copyright © 2014 BioJava. All rights reserved.