public abstract class StAXHandlerAbstract extends Object implements StAXHandlerInterface
| Constructor and Description |
|---|
StAXHandlerAbstract() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(XMLStreamReader xmlr,
XMLStreamWriter xmlWriter) |
abstract void |
handleCharacters(XMLStreamReader xmlr,
XMLStreamWriter writer)
Implement this method; for an example, see VariableReplaceStAX sample
|
void |
write(XMLStreamReader xmlr,
XMLStreamWriter writer)
This is designed to cater for the common case of replacing character content.
|
public abstract void handleCharacters(XMLStreamReader xmlr, XMLStreamWriter writer) throws XMLStreamException
xmlr - writer - XMLStreamExceptionpublic void handle(XMLStreamReader xmlr, XMLStreamWriter xmlWriter) throws LocationAwareXMLStreamException, XMLStreamException
handle in interface StAXHandlerInterfaceLocationAwareXMLStreamExceptionXMLStreamExceptionpublic void write(XMLStreamReader xmlr, XMLStreamWriter writer) throws XMLStreamException
xmlr - writer - XMLStreamExceptionCopyright © 2007-2020. All Rights Reserved.