public abstract class BaseSax2EventFromStaxProducer extends Object implements SAX2EventAndErrorProducer
Sax2EventFromStaxEventProducer and
Sax2EventFromStaxStreamProducer. It consumes StAX events and produces SAX2 events.| Constructor and Description |
|---|
BaseSax2EventFromStaxProducer() |
| Modifier and Type | Method and Description |
|---|---|
static SAX2EventAndErrorProducer |
createSax2EventFromStax(XMLEventReader eventReader) |
static SAX2EventAndErrorProducer |
createSax2EventFromStax(XMLStreamReader streamReader) |
ContentHandler |
getContentHandler() |
ErrorHandler |
getErrorHandler() |
Stack<List<String>> |
getPrefixes() |
protected Locator |
getSAXLocator(Location location)
|
void |
setContentHandler(ContentHandler contentHandler)
Sets the SAX2 ContentHandler to send SAX 2 events to
|
void |
setErrorHandler(ErrorHandler errorHandler)
Sets the SAX2 ErrorHandler to send SAX 2 errors to
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartpublic static SAX2EventAndErrorProducer createSax2EventFromStax(XMLStreamReader streamReader)
public static SAX2EventAndErrorProducer createSax2EventFromStax(XMLEventReader eventReader)
public void setContentHandler(ContentHandler contentHandler)
SAX2EventProducersetContentHandler in interface SAX2EventProducerpublic void setErrorHandler(ErrorHandler errorHandler)
SAX2EventAndErrorProducersetErrorHandler in interface SAX2EventAndErrorProducerpublic ContentHandler getContentHandler()
public ErrorHandler getErrorHandler()
Copyright © 2016. All rights reserved.