org.apache.axis2.databinding.utils.writer
Class MTOMAwareOMBuilder
java.lang.Object
org.apache.axis2.databinding.utils.writer.MTOMAwareOMBuilder
- All Implemented Interfaces:
- XMLStreamWriter, org.apache.axiom.ext.stax.datahandler.DataHandlerWriter
public class MTOMAwareOMBuilder
- extends Object
- implements XMLStreamWriter, org.apache.axiom.ext.stax.datahandler.DataHandlerWriter
Fields inherited from interface org.apache.axiom.ext.stax.datahandler.DataHandlerWriter |
PROPERTY |
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTOMAwareOMBuilder
public MTOMAwareOMBuilder()
getOMElement
public org.apache.axiom.om.OMElement getOMElement()
throws XMLStreamException
- Throws:
XMLStreamException
writeStartElement
public void writeStartElement(String localName)
throws XMLStreamException
- Specified by:
writeStartElement
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartElement
public void writeStartElement(String namespace,
String localName)
throws XMLStreamException
- Specified by:
writeStartElement
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartElement
public void writeStartElement(String prefix,
String localName,
String namespace)
throws XMLStreamException
- Specified by:
writeStartElement
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEmptyElement
public void writeEmptyElement(String namespaceURI,
String localName)
throws XMLStreamException
- Specified by:
writeEmptyElement
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEmptyElement
public void writeEmptyElement(String prefix,
String localName,
String namespaceURI)
throws XMLStreamException
- Specified by:
writeEmptyElement
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEmptyElement
public void writeEmptyElement(String localName)
throws XMLStreamException
- Specified by:
writeEmptyElement
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEndElement
public void writeEndElement()
throws XMLStreamException
- Specified by:
writeEndElement
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEndDocument
public void writeEndDocument()
throws XMLStreamException
- Specified by:
writeEndDocument
in interface XMLStreamWriter
- Throws:
XMLStreamException
close
public void close()
throws XMLStreamException
- Specified by:
close
in interface XMLStreamWriter
- Throws:
XMLStreamException
flush
public void flush()
throws XMLStreamException
- Specified by:
flush
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeAttribute
public void writeAttribute(String attributeName,
String attributeValue)
throws XMLStreamException
- Specified by:
writeAttribute
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeAttribute
public void writeAttribute(String prefix,
String namespace,
String attributeName,
String attributeValue)
throws XMLStreamException
- Specified by:
writeAttribute
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeAttribute
public void writeAttribute(String namespace,
String attributeName,
String attributeValue)
throws XMLStreamException
- Specified by:
writeAttribute
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeNamespace
public void writeNamespace(String prefix,
String namespaceURI)
throws XMLStreamException
- Specified by:
writeNamespace
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeDefaultNamespace
public void writeDefaultNamespace(String namespace)
throws XMLStreamException
- Specified by:
writeDefaultNamespace
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeComment
public void writeComment(String string)
throws XMLStreamException
- Specified by:
writeComment
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeProcessingInstruction
public void writeProcessingInstruction(String string)
throws XMLStreamException
- Specified by:
writeProcessingInstruction
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeProcessingInstruction
public void writeProcessingInstruction(String string,
String string1)
throws XMLStreamException
- Specified by:
writeProcessingInstruction
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeCData
public void writeCData(String string)
throws XMLStreamException
- Specified by:
writeCData
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeDTD
public void writeDTD(String string)
throws XMLStreamException
- Specified by:
writeDTD
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEntityRef
public void writeEntityRef(String string)
throws XMLStreamException
- Specified by:
writeEntityRef
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartDocument
public void writeStartDocument()
throws XMLStreamException
- Specified by:
writeStartDocument
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartDocument
public void writeStartDocument(String string)
throws XMLStreamException
- Specified by:
writeStartDocument
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartDocument
public void writeStartDocument(String string,
String string1)
throws XMLStreamException
- Specified by:
writeStartDocument
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeCharacters
public void writeCharacters(String string)
throws XMLStreamException
- Specified by:
writeCharacters
in interface XMLStreamWriter
- Throws:
XMLStreamException
writeCharacters
public void writeCharacters(char[] chars,
int i,
int i1)
throws XMLStreamException
- Specified by:
writeCharacters
in interface XMLStreamWriter
- Throws:
XMLStreamException
getPrefix
public String getPrefix(String namespace)
throws XMLStreamException
- Specified by:
getPrefix
in interface XMLStreamWriter
- Throws:
XMLStreamException
setPrefix
public void setPrefix(String prefix,
String uri)
throws XMLStreamException
- Specified by:
setPrefix
in interface XMLStreamWriter
- Throws:
XMLStreamException
setDefaultNamespace
public void setDefaultNamespace(String namespace)
throws XMLStreamException
- Specified by:
setDefaultNamespace
in interface XMLStreamWriter
- Throws:
XMLStreamException
setNamespaceContext
public void setNamespaceContext(NamespaceContext namespaceContext)
throws XMLStreamException
- Specified by:
setNamespaceContext
in interface XMLStreamWriter
- Throws:
XMLStreamException
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContext
in interface XMLStreamWriter
getProperty
public Object getProperty(String name)
throws IllegalArgumentException
- Specified by:
getProperty
in interface XMLStreamWriter
- Throws:
IllegalArgumentException
writeDataHandler
public void writeDataHandler(DataHandler dataHandler,
String contentID,
boolean optimize)
throws IOException,
XMLStreamException
- Specified by:
writeDataHandler
in interface org.apache.axiom.ext.stax.datahandler.DataHandlerWriter
- Throws:
IOException
XMLStreamException
writeDataHandler
public void writeDataHandler(org.apache.axiom.ext.stax.datahandler.DataHandlerProvider dataHandlerProvider,
String contentID,
boolean optimize)
throws IOException,
XMLStreamException
- Specified by:
writeDataHandler
in interface org.apache.axiom.ext.stax.datahandler.DataHandlerWriter
- Throws:
IOException
XMLStreamException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.