public class StAXContentHandlerBase extends Object implements StAXContentHandler
StAXContentHandler
interface, with empty implementations for all the methods.
This class is provided as a base for content handlers where the implementor does not wish to provide all the methods.
Constructor and Description |
---|
StAXContentHandlerBase() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
Signal a span of character data in the XML input.
|
void |
endElement(String nsURI,
String localName,
String qName,
StAXContentHandler delegate) |
void |
endPrefixMapping(String prefix) |
void |
endTree() |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
processingInstruction(String target,
String data) |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String name) |
void |
startElement(String nsURI,
String localName,
String qName,
Attributes attrs,
DelegationManager dm) |
void |
startPrefixMapping(String prefix,
String uri) |
void |
startTree() |
public StAXContentHandlerBase()
public void startTree() throws SAXException
startTree
in interface StAXContentHandler
SAXException
public void endTree() throws SAXException
endTree
in interface StAXContentHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface StAXContentHandler
ch
- an array of charactersstart
- index of the first significant character for this event.length
- number of characters significant to this event.SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ignorableWhitespace
in interface StAXContentHandler
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface StAXContentHandler
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface StAXContentHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface StAXContentHandler
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface StAXContentHandler
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface StAXContentHandler
SAXException
public void startElement(String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm) throws SAXException
startElement
in interface StAXContentHandler
SAXException
public void endElement(String nsURI, String localName, String qName, StAXContentHandler delegate) throws SAXException
endElement
in interface StAXContentHandler
SAXException
Copyright © 2014 BioJava. All rights reserved.