Class XMLMetaAwareXMLStreamWriter
java.lang.Object
com.sun.xml.txw2.output.IndentingXMLStreamWriter
com.foursoft.harness.navext.runtime.io.write.xmlmeta.XMLMetaAwareXMLStreamWriter
- All Implemented Interfaces:
XMLStreamWriter
public class XMLMetaAwareXMLStreamWriter
extends com.sun.xml.txw2.output.IndentingXMLStreamWriter
with meta the formatting doesn't work, this adds the formatting back.
-
Constructor Summary
ConstructorsConstructorDescriptionXMLMetaAwareXMLStreamWriter(XMLStreamWriter xmlStreamWriter, Class<?> baseType) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()getProperty(String arg0) voidsetDefaultNamespace(String arg0) voidvoidvoidwriteAttribute(String arg0, String arg1) voidwriteAttribute(String arg0, String arg1, String arg2) voidwriteAttribute(String arg0, String arg1, String arg2, String arg3) voidwriteComment(String data) voidwriteComment(String data, Object source) voidwriteDefaultNamespace(String arg0) voidvoidvoidwriteEntityRef(String arg0) voidwriteNamespace(String arg0, String arg1) voidvoidwriteProcessingInstruction(String target, String data) voidwriteProcessingInstruction(String target, String data, Object source) 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
-
Constructor Details
-
XMLMetaAwareXMLStreamWriter
-
-
Method Details
-
writeComment
- Specified by:
writeCommentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeComment
- Throws:
XMLStreamException
-
writeProcessingInstruction
- Specified by:
writeProcessingInstructionin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeProcessingInstruction
public void writeProcessingInstruction(String target, String data, Object source) throws XMLStreamException - Throws:
XMLStreamException
-
writeEndDocument
- Specified by:
writeEndDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
close
- Specified by:
closein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
flush
- Specified by:
flushin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
- Specified by:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String arg0, String arg1, String arg2, String arg3) throws XMLStreamException - Specified by:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
- Specified by:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeNamespace
- Specified by:
writeNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeDefaultNamespace
- Specified by:
writeDefaultNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeProcessingInstruction
- Specified by:
writeProcessingInstructionin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeDTD
- Specified by:
writeDTDin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEntityRef
- Specified by:
writeEntityRefin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
getPrefix
- Specified by:
getPrefixin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setPrefix
- Specified by:
setPrefixin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setDefaultNamespace
- Specified by:
setDefaultNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setNamespaceContext
- Specified by:
setNamespaceContextin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
getNamespaceContext
- Specified by:
getNamespaceContextin interfaceXMLStreamWriter
-
getProperty
- Specified by:
getPropertyin interfaceXMLStreamWriter- Throws:
IllegalArgumentException
-