Class XMLStreamWriterEx
- java.lang.Object
-
- com.sun.xml.txw2.output.IndentingXMLStreamWriter
-
- org.jenkinsci.plugins.genexus.helpers.XMLStreamWriterEx
-
- All Implemented Interfaces:
AutoCloseable
,XMLStreamWriter
public class XMLStreamWriterEx extends com.sun.xml.txw2.output.IndentingXMLStreamWriter implements AutoCloseable
- Author:
- jlr
-
-
Constructor Summary
Constructors Constructor Description XMLStreamWriterEx(XMLStreamWriter actualWriter)
-
Method Summary
-
Methods inherited from class com.sun.xml.txw2.output.IndentingXMLStreamWriter
getIndentStep, setIndentStep, setIndentStep, writeCData, writeCharacters, writeCharacters, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndElement, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeStartElement
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Constructor Detail
-
XMLStreamWriterEx
public XMLStreamWriterEx(XMLStreamWriter actualWriter)
-
-
Method Detail
-
newInstance
public static XMLStreamWriterEx newInstance(OutputStream stream) throws XMLStreamException
- Throws:
XMLStreamException
-
newInstance
public static XMLStreamWriterEx newInstance(OutputStream stream, String encoding) throws XMLStreamException
- Throws:
XMLStreamException
-
startDocument
public AutoCloseable startDocument() throws XMLStreamException
- Throws:
XMLStreamException
-
startElement
public AutoCloseable startElement(String elementName) throws XMLStreamException
- Throws:
XMLStreamException
-
writeSimpleElement
public void writeSimpleElement(String name, String text) throws XMLStreamException
- Throws:
XMLStreamException
-
writeEndDocument
public void writeEndDocument() throws XMLStreamException
- Specified by:
writeEndDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
close
public void close() throws XMLStreamException
- Specified by:
close
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
flush
public void flush() throws XMLStreamException
- Specified by:
flush
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String arg0, String arg1) throws XMLStreamException
- Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String arg0, String arg1, String arg2, String arg3) throws XMLStreamException
- Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String arg0, String arg1, String arg2) throws XMLStreamException
- Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeNamespace
public void writeNamespace(String arg0, String arg1) throws XMLStreamException
- Specified by:
writeNamespace
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeDefaultNamespace
public void writeDefaultNamespace(String arg0) throws XMLStreamException
- Specified by:
writeDefaultNamespace
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeComment
public void writeComment(String arg0) throws XMLStreamException
- Specified by:
writeComment
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeProcessingInstruction
public void writeProcessingInstruction(String arg0) throws XMLStreamException
- Specified by:
writeProcessingInstruction
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeProcessingInstruction
public void writeProcessingInstruction(String arg0, String arg1) throws XMLStreamException
- Specified by:
writeProcessingInstruction
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeDTD
public void writeDTD(String arg0) throws XMLStreamException
- Specified by:
writeDTD
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEntityRef
public void writeEntityRef(String arg0) throws XMLStreamException
- Specified by:
writeEntityRef
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
getPrefix
public String getPrefix(String arg0) throws XMLStreamException
- Specified by:
getPrefix
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
setPrefix
public void setPrefix(String arg0, String arg1) throws XMLStreamException
- Specified by:
setPrefix
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
setDefaultNamespace
public void setDefaultNamespace(String arg0) throws XMLStreamException
- Specified by:
setDefaultNamespace
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
setNamespaceContext
public void setNamespaceContext(NamespaceContext arg0) throws XMLStreamException
- Specified by:
setNamespaceContext
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContext
in interfaceXMLStreamWriter
-
getProperty
public Object getProperty(String arg0) throws IllegalArgumentException
- Specified by:
getProperty
in interfaceXMLStreamWriter
- Throws:
IllegalArgumentException
-
-