public class SAX2StAXAdaptor extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
SAX2StAXAdaptor(StAXContentHandler rootHandler)
Construct a new SAX Content handler which wraps a StAX
handler.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int end) |
void |
endDocument() |
void |
endElement(String nsURI,
String localName,
String qName) |
void |
endPrefixMapping(String prefix) |
void |
ignorableWhitespace(char[] ch,
int start,
int end) |
void |
processingInstruction(String target,
String data) |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String name) |
void |
startDocument() |
void |
startElement(String nsURI,
String localName,
String qName,
Attributes attrs) |
void |
startPrefixMapping(String prefix,
String uri) |
error, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warning
public SAX2StAXAdaptor(StAXContentHandler rootHandler)
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] ch, int start, int end) throws SAXException
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void ignorableWhitespace(char[] ch, int start, int end) throws SAXException
ignorableWhitespace
in interface ContentHandler
ignorableWhitespace
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
startPrefixMapping
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
endPrefixMapping
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
processingInstruction
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class org.xml.sax.helpers.DefaultHandler
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface ContentHandler
skippedEntity
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void startElement(String nsURI, String localName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String nsURI, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
Copyright © 2014 BioJava. All rights reserved.