public class PushOMBuilder
extends org.apache.axiom.util.stax.AbstractXMLStreamWriter
implements org.apache.axiom.ext.stax.datahandler.DataHandlerWriter
| Constructor and Description |
|---|
PushOMBuilder(AxiomSourcedElement root) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
doWriteAttribute(String localName,
String value) |
protected void |
doWriteAttribute(String prefix,
String namespaceURI,
String localName,
String value) |
protected void |
doWriteCData(String data) |
protected void |
doWriteCharacters(char[] text,
int start,
int len) |
protected void |
doWriteCharacters(String text) |
protected void |
doWriteComment(String data) |
protected void |
doWriteDefaultNamespace(String namespaceURI) |
protected void |
doWriteDTD(String dtd) |
protected void |
doWriteEmptyElement(String localName) |
protected void |
doWriteEmptyElement(String prefix,
String localName,
String namespaceURI) |
protected void |
doWriteEndDocument() |
protected void |
doWriteEndElement() |
protected void |
doWriteEntityRef(String name) |
protected void |
doWriteNamespace(String prefix,
String namespaceURI) |
protected void |
doWriteProcessingInstruction(String target) |
protected void |
doWriteProcessingInstruction(String target,
String data) |
protected void |
doWriteStartDocument() |
protected void |
doWriteStartDocument(String version) |
protected void |
doWriteStartDocument(String encoding,
String version) |
protected void |
doWriteStartElement(String localName) |
protected void |
doWriteStartElement(String prefix,
String localName,
String namespaceURI) |
void |
flush() |
Object |
getProperty(String name) |
void |
writeDataHandler(org.apache.axiom.ext.stax.datahandler.DataHandlerProvider dataHandlerProvider,
String contentID,
boolean optimize) |
void |
writeDataHandler(javax.activation.DataHandler dataHandler,
String contentID,
boolean optimize) |
getNamespaceContext, getPrefix, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEndElement, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeStartElementpublic PushOMBuilder(AxiomSourcedElement root) throws javax.xml.stream.XMLStreamException
public Object getProperty(String name) throws IllegalArgumentException
getProperty in interface javax.xml.stream.XMLStreamWriterIllegalArgumentExceptionprotected void doWriteStartDocument()
doWriteStartDocument in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteStartDocument(String encoding, String version)
doWriteStartDocument in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteStartDocument(String version)
doWriteStartDocument in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteEndDocument()
doWriteEndDocument in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteDTD(String dtd) throws javax.xml.stream.XMLStreamException
doWriteDTD in class org.apache.axiom.util.stax.AbstractXMLStreamWriterjavax.xml.stream.XMLStreamExceptionprotected void doWriteStartElement(String prefix, String localName, String namespaceURI)
doWriteStartElement in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteStartElement(String localName) throws javax.xml.stream.XMLStreamException
doWriteStartElement in class org.apache.axiom.util.stax.AbstractXMLStreamWriterjavax.xml.stream.XMLStreamExceptionprotected void doWriteEndElement()
doWriteEndElement in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteEmptyElement(String prefix, String localName, String namespaceURI)
doWriteEmptyElement in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteEmptyElement(String localName) throws javax.xml.stream.XMLStreamException
doWriteEmptyElement in class org.apache.axiom.util.stax.AbstractXMLStreamWriterjavax.xml.stream.XMLStreamExceptionprotected void doWriteAttribute(String prefix, String namespaceURI, String localName, String value)
doWriteAttribute in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteAttribute(String localName, String value) throws javax.xml.stream.XMLStreamException
doWriteAttribute in class org.apache.axiom.util.stax.AbstractXMLStreamWriterjavax.xml.stream.XMLStreamExceptionprotected void doWriteNamespace(String prefix, String namespaceURI)
doWriteNamespace in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteDefaultNamespace(String namespaceURI)
doWriteDefaultNamespace in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteCharacters(char[] text,
int start,
int len)
doWriteCharacters in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteCharacters(String text)
doWriteCharacters in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteCData(String data)
doWriteCData in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteComment(String data)
doWriteComment in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteEntityRef(String name) throws javax.xml.stream.XMLStreamException
doWriteEntityRef in class org.apache.axiom.util.stax.AbstractXMLStreamWriterjavax.xml.stream.XMLStreamExceptionprotected void doWriteProcessingInstruction(String target, String data)
doWriteProcessingInstruction in class org.apache.axiom.util.stax.AbstractXMLStreamWriterprotected void doWriteProcessingInstruction(String target)
doWriteProcessingInstruction in class org.apache.axiom.util.stax.AbstractXMLStreamWriterpublic void flush()
throws javax.xml.stream.XMLStreamException
flush in interface javax.xml.stream.XMLStreamWriterjavax.xml.stream.XMLStreamExceptionpublic void close()
throws javax.xml.stream.XMLStreamException
close in interface javax.xml.stream.XMLStreamWriterjavax.xml.stream.XMLStreamExceptionpublic void writeDataHandler(javax.activation.DataHandler dataHandler,
String contentID,
boolean optimize)
throws IOException,
javax.xml.stream.XMLStreamException
writeDataHandler in interface org.apache.axiom.ext.stax.datahandler.DataHandlerWriterIOExceptionjavax.xml.stream.XMLStreamExceptionpublic void writeDataHandler(org.apache.axiom.ext.stax.datahandler.DataHandlerProvider dataHandlerProvider,
String contentID,
boolean optimize)
throws IOException,
javax.xml.stream.XMLStreamException
writeDataHandler in interface org.apache.axiom.ext.stax.datahandler.DataHandlerWriterIOExceptionjavax.xml.stream.XMLStreamExceptionCopyright © The Apache Software Foundation. All Rights Reserved.