Package dev.pxml.core.writer
Interface IPXMLWriter
-
- All Known Implementing Classes:
PXMLWriter
public interface IPXMLWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endDocument()
void
escapeAndWriteText(java.lang.String text)
void
flush()
void
startDocument()
void
write(java.lang.String string)
void
writeAttribute(java.lang.String nameSpacePrefix, java.lang.String localName, java.lang.String value, boolean appendAttributesSeparator)
void
writeAttributesEnd()
void
writeAttributesStart()
void
writeComment(java.lang.String text)
void
writeEmptyNode(java.lang.String nameSpacePrefix, java.lang.String localName)
void
writeNodeEndSymbol()
void
writeNodeEndTag(java.lang.String nameSpacePrefix, java.lang.String localName)
void
writeNodeStart(java.lang.String nameSpacePrefix, java.lang.String localName, boolean appendNameValueSeparator)
void
writeNonEmptyNodeStart(java.lang.String nameSpacePrefix, java.lang.String localName)
void
writeTextNode(java.lang.String nameSpacePrefix, java.lang.String localName, java.lang.String text)
-
-
-
Method Detail
-
write
void write(java.lang.String string) throws java.io.IOException
- Throws:
java.io.IOException
-
flush
void flush() throws java.io.IOException
- Throws:
java.io.IOException
-
startDocument
void startDocument() throws java.io.IOException
- Throws:
java.io.IOException
-
endDocument
void endDocument() throws java.io.IOException
- Throws:
java.io.IOException
-
writeNonEmptyNodeStart
void writeNonEmptyNodeStart(java.lang.String nameSpacePrefix, java.lang.String localName) throws java.io.IOException
- Throws:
java.io.IOException
-
writeNodeStart
void writeNodeStart(java.lang.String nameSpacePrefix, java.lang.String localName, boolean appendNameValueSeparator) throws java.io.IOException
- Throws:
java.io.IOException
-
writeNodeEndSymbol
void writeNodeEndSymbol() throws java.io.IOException
- Throws:
java.io.IOException
-
writeNodeEndTag
void writeNodeEndTag(java.lang.String nameSpacePrefix, java.lang.String localName) throws java.io.IOException
- Throws:
java.io.IOException
-
writeTextNode
void writeTextNode(java.lang.String nameSpacePrefix, java.lang.String localName, java.lang.String text) throws java.io.IOException
- Throws:
java.io.IOException
-
writeEmptyNode
void writeEmptyNode(java.lang.String nameSpacePrefix, java.lang.String localName) throws java.io.IOException
- Throws:
java.io.IOException
-
writeAttributesStart
void writeAttributesStart() throws java.io.IOException
- Throws:
java.io.IOException
-
writeAttributesEnd
void writeAttributesEnd() throws java.io.IOException
- Throws:
java.io.IOException
-
writeAttribute
void writeAttribute(java.lang.String nameSpacePrefix, java.lang.String localName, java.lang.String value, boolean appendAttributesSeparator) throws java.io.IOException
- Throws:
java.io.IOException
-
escapeAndWriteText
void escapeAndWriteText(java.lang.String text) throws java.io.IOException
- Throws:
java.io.IOException
-
writeComment
void writeComment(java.lang.String text) throws java.io.IOException
- Throws:
java.io.IOException
-
-