public class XoXMLStreamWriterImpl extends Object implements XoXMLStreamWriter
| Constructor and Description |
|---|
XoXMLStreamWriterImpl(XMLStreamWriter writer) |
public XoXMLStreamWriterImpl(XMLStreamWriter writer)
public void writeXsiNil()
throws XMLStreamException
writeXsiNil in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAndDeclareIfUndeclared(String prefix, String namespace) throws XMLStreamException
writeAndDeclareIfUndeclared in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeQName(QName q) throws XMLStreamException
writeQName in interface XoXMLStreamWriterXMLStreamExceptionpublic String getQNameAsString(QName q) throws XMLStreamException
getQNameAsString in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeDomElement(Element element, boolean writeTag) throws XMLStreamException
writeDomElement in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeXsiType(String namespace, String local) throws XMLStreamException
writeXsiType in interface XoXMLStreamWriterXMLStreamExceptionpublic String getUniquePrefix(String namespaceURI) throws XMLStreamException
getUniquePrefix in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAsXmlList(Collection<Object> values) throws XMLStreamException
writeAsXmlList in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAsXmlList(Object[] values) throws XMLStreamException
writeAsXmlList in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAsXmlList(boolean[] values)
throws XMLStreamException
writeAsXmlList in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAsXmlList(short[] values)
throws XMLStreamException
writeAsXmlList in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAsXmlList(int[] values)
throws XMLStreamException
writeAsXmlList in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAsXmlList(long[] values)
throws XMLStreamException
writeAsXmlList in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAsXmlList(float[] values)
throws XMLStreamException
writeAsXmlList in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAsXmlList(double[] values)
throws XMLStreamException
writeAsXmlList in interface XoXMLStreamWriterXMLStreamExceptionpublic String getUniquePrefix(String namespaceURI, boolean declare) throws XMLStreamException
XMLStreamExceptionpublic String getUniquePrefix()
public void writeString(String s) throws XMLStreamException
writeString in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeBoolean(boolean b)
throws XMLStreamException
writeBoolean in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeDouble(double b)
throws XMLStreamException
writeDouble in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeFloat(float b)
throws XMLStreamException
writeFloat in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeLong(long b)
throws XMLStreamException
writeLong in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeShort(short b)
throws XMLStreamException
writeShort in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeByte(byte b)
throws XMLStreamException
writeByte in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeInt(int i)
throws XMLStreamException
writeInt in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeStartElementWithAutoPrefix(String namespaceURI, String localName) throws XMLStreamException
writeStartElementWithAutoPrefix in interface XoXMLStreamWriterXMLStreamExceptionpublic void close()
throws XMLStreamException
close in interface XMLStreamWriterXMLStreamExceptionpublic void flush()
throws XMLStreamException
flush in interface XMLStreamWriterXMLStreamExceptionpublic NamespaceContext getNamespaceContext()
getNamespaceContext in interface XMLStreamWriterpublic String getPrefix(String uri) throws XMLStreamException
getPrefix in interface XMLStreamWriterXMLStreamExceptionpublic Object getProperty(String name) throws IllegalArgumentException
getProperty in interface XMLStreamWriterIllegalArgumentExceptionpublic void setDefaultNamespace(String uri) throws XMLStreamException
setDefaultNamespace in interface XMLStreamWriterXMLStreamExceptionpublic void setNamespaceContext(NamespaceContext arg0) throws XMLStreamException
setNamespaceContext in interface XMLStreamWriterXMLStreamExceptionpublic void setPrefix(String prefix, String uri) throws XMLStreamException
setPrefix in interface XMLStreamWriterXMLStreamExceptionpublic void writeAttribute(QName name, String value) throws XMLStreamException
writeAttribute in interface XoXMLStreamWriterXMLStreamExceptionpublic void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException
writeAttribute in interface XMLStreamWriterXMLStreamExceptionpublic void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException
writeAttribute in interface XMLStreamWriterXMLStreamExceptionpublic void writeAttribute(String localName, String value) throws XMLStreamException
writeAttribute in interface XMLStreamWriterXMLStreamExceptionpublic void writeCData(String data) throws XMLStreamException
writeCData in interface XMLStreamWriterXMLStreamExceptionpublic void writeCharacters(char[] text,
int start,
int len)
throws XMLStreamException
writeCharacters in interface XMLStreamWriterXMLStreamExceptionpublic void writeCharacters(String text) throws XMLStreamException
writeCharacters in interface XMLStreamWriterXMLStreamExceptionpublic void writeComment(String data) throws XMLStreamException
writeComment in interface XMLStreamWriterXMLStreamExceptionpublic void writeDefaultNamespace(String uri) throws XMLStreamException
writeDefaultNamespace in interface XMLStreamWriterXMLStreamExceptionpublic void writeDTD(String dtd) throws XMLStreamException
writeDTD in interface XMLStreamWriterXMLStreamExceptionpublic void writeEmptyElement(String prefix, String namespaceURI, String localName) throws XMLStreamException
writeEmptyElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException
writeEmptyElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEmptyElement(String localName) throws XMLStreamException
writeEmptyElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEndDocument()
throws XMLStreamException
writeEndDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeEndElement()
throws XMLStreamException
writeEndElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEntityRef(String name) throws XMLStreamException
writeEntityRef in interface XMLStreamWriterXMLStreamExceptionpublic void writeNamespace(String prefix, String namespaceURI) throws XMLStreamException
writeNamespace in interface XMLStreamWriterXMLStreamExceptionpublic void writeProcessingInstruction(String target, String data) throws XMLStreamException
writeProcessingInstruction in interface XMLStreamWriterXMLStreamExceptionpublic void writeProcessingInstruction(String target) throws XMLStreamException
writeProcessingInstruction in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartDocument()
throws XMLStreamException
writeStartDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartDocument(String encoding, String version) throws XMLStreamException
writeStartDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartDocument(String version) throws XMLStreamException
writeStartDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String prefix, String namespaceURI, String localName) throws XMLStreamException
writeStartElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String namespaceURI, String localName) throws XMLStreamException
writeStartElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String localName) throws XMLStreamException
writeStartElement in interface XMLStreamWriterXMLStreamExceptionCopyright © 2007–2021. All rights reserved.