public class MTOMAwareOMBuilder extends Object implements XMLStreamWriter, org.apache.axiom.ext.stax.datahandler.DataHandlerWriter
Constructor and Description |
---|
MTOMAwareOMBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
NamespaceContext |
getNamespaceContext() |
org.apache.axiom.om.OMElement |
getOMElement() |
String |
getPrefix(String namespace) |
Object |
getProperty(String name) |
void |
setDefaultNamespace(String namespace) |
void |
setNamespaceContext(NamespaceContext namespaceContext) |
void |
setPrefix(String prefix,
String uri) |
void |
writeAttribute(String attributeName,
String attributeValue) |
void |
writeAttribute(String namespace,
String attributeName,
String attributeValue) |
void |
writeAttribute(String prefix,
String namespace,
String attributeName,
String attributeValue) |
void |
writeCData(String string) |
void |
writeCharacters(char[] chars,
int i,
int i1) |
void |
writeCharacters(String string) |
void |
writeComment(String string) |
void |
writeDataHandler(org.apache.axiom.ext.stax.datahandler.DataHandlerProvider dataHandlerProvider,
String contentID,
boolean optimize) |
void |
writeDataHandler(DataHandler dataHandler,
String contentID,
boolean optimize) |
void |
writeDefaultNamespace(String namespace) |
void |
writeDTD(String string) |
void |
writeEmptyElement(String localName) |
void |
writeEmptyElement(String namespaceURI,
String localName) |
void |
writeEmptyElement(String prefix,
String localName,
String namespaceURI) |
void |
writeEndDocument() |
void |
writeEndElement() |
void |
writeEntityRef(String string) |
void |
writeNamespace(String prefix,
String namespaceURI) |
void |
writeProcessingInstruction(String string) |
void |
writeProcessingInstruction(String string,
String string1) |
void |
writeStartDocument() |
void |
writeStartDocument(String string) |
void |
writeStartDocument(String string,
String string1) |
void |
writeStartElement(String localName) |
void |
writeStartElement(String namespace,
String localName) |
void |
writeStartElement(String prefix,
String localName,
String namespace) |
public org.apache.axiom.om.OMElement getOMElement() throws XMLStreamException
XMLStreamException
public void writeStartElement(String localName) throws XMLStreamException
writeStartElement
in interface XMLStreamWriter
XMLStreamException
public void writeStartElement(String namespace, String localName) throws XMLStreamException
writeStartElement
in interface XMLStreamWriter
XMLStreamException
public void writeStartElement(String prefix, String localName, String namespace) throws XMLStreamException
writeStartElement
in interface XMLStreamWriter
XMLStreamException
public void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException
writeEmptyElement
in interface XMLStreamWriter
XMLStreamException
public void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException
writeEmptyElement
in interface XMLStreamWriter
XMLStreamException
public void writeEmptyElement(String localName) throws XMLStreamException
writeEmptyElement
in interface XMLStreamWriter
XMLStreamException
public void writeEndElement() throws XMLStreamException
writeEndElement
in interface XMLStreamWriter
XMLStreamException
public void writeEndDocument() throws XMLStreamException
writeEndDocument
in interface XMLStreamWriter
XMLStreamException
public void close() throws XMLStreamException
close
in interface XMLStreamWriter
XMLStreamException
public void flush() throws XMLStreamException
flush
in interface XMLStreamWriter
XMLStreamException
public void writeAttribute(String attributeName, String attributeValue) throws XMLStreamException
writeAttribute
in interface XMLStreamWriter
XMLStreamException
public void writeAttribute(String prefix, String namespace, String attributeName, String attributeValue) throws XMLStreamException
writeAttribute
in interface XMLStreamWriter
XMLStreamException
public void writeAttribute(String namespace, String attributeName, String attributeValue) throws XMLStreamException
writeAttribute
in interface XMLStreamWriter
XMLStreamException
public void writeNamespace(String prefix, String namespaceURI) throws XMLStreamException
writeNamespace
in interface XMLStreamWriter
XMLStreamException
public void writeDefaultNamespace(String namespace) throws XMLStreamException
writeDefaultNamespace
in interface XMLStreamWriter
XMLStreamException
public void writeComment(String string) throws XMLStreamException
writeComment
in interface XMLStreamWriter
XMLStreamException
public void writeProcessingInstruction(String string) throws XMLStreamException
writeProcessingInstruction
in interface XMLStreamWriter
XMLStreamException
public void writeProcessingInstruction(String string, String string1) throws XMLStreamException
writeProcessingInstruction
in interface XMLStreamWriter
XMLStreamException
public void writeCData(String string) throws XMLStreamException
writeCData
in interface XMLStreamWriter
XMLStreamException
public void writeDTD(String string) throws XMLStreamException
writeDTD
in interface XMLStreamWriter
XMLStreamException
public void writeEntityRef(String string) throws XMLStreamException
writeEntityRef
in interface XMLStreamWriter
XMLStreamException
public void writeStartDocument() throws XMLStreamException
writeStartDocument
in interface XMLStreamWriter
XMLStreamException
public void writeStartDocument(String string) throws XMLStreamException
writeStartDocument
in interface XMLStreamWriter
XMLStreamException
public void writeStartDocument(String string, String string1) throws XMLStreamException
writeStartDocument
in interface XMLStreamWriter
XMLStreamException
public void writeCharacters(String string) throws XMLStreamException
writeCharacters
in interface XMLStreamWriter
XMLStreamException
public void writeCharacters(char[] chars, int i, int i1) throws XMLStreamException
writeCharacters
in interface XMLStreamWriter
XMLStreamException
public String getPrefix(String namespace) throws XMLStreamException
getPrefix
in interface XMLStreamWriter
XMLStreamException
public void setPrefix(String prefix, String uri) throws XMLStreamException
setPrefix
in interface XMLStreamWriter
XMLStreamException
public void setDefaultNamespace(String namespace) throws XMLStreamException
setDefaultNamespace
in interface XMLStreamWriter
XMLStreamException
public void setNamespaceContext(NamespaceContext namespaceContext) throws XMLStreamException
setNamespaceContext
in interface XMLStreamWriter
XMLStreamException
public NamespaceContext getNamespaceContext()
getNamespaceContext
in interface XMLStreamWriter
public Object getProperty(String name) throws IllegalArgumentException
getProperty
in interface XMLStreamWriter
IllegalArgumentException
public void writeDataHandler(DataHandler dataHandler, String contentID, boolean optimize) throws IOException, XMLStreamException
writeDataHandler
in interface org.apache.axiom.ext.stax.datahandler.DataHandlerWriter
IOException
XMLStreamException
public void writeDataHandler(org.apache.axiom.ext.stax.datahandler.DataHandlerProvider dataHandlerProvider, String contentID, boolean optimize) throws IOException, XMLStreamException
writeDataHandler
in interface org.apache.axiom.ext.stax.datahandler.DataHandlerWriter
IOException
XMLStreamException
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.