Package de.hsh.graja.util.marshal
Class CDataXMLStreamWriter
java.lang.Object
de.hsh.graja.util.marshal.DelegatingXMLStreamWriter
de.hsh.graja.util.marshal.CDataXMLStreamWriter
- All Implemented Interfaces:
XMLStreamWriter
Implementation which is able to decide to use a CDATA section for a string.
-
Field Summary
Fields inherited from class de.hsh.graja.util.marshal.DelegatingXMLStreamWriter
delegate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeCharacters
(char[] text, int start, int len) Write text to the outputvoid
writeCharacters
(String text) Methods inherited from class de.hsh.graja.util.marshal.DelegatingXMLStreamWriter
close, flush, getNamespaceContext, getPrefix, getProperty, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeAttribute, writeCData, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEndElement, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeStartElement
-
Constructor Details
-
CDataXMLStreamWriter
-
-
Method Details
-
writeCharacters
Write text to the output- Specified by:
writeCharacters
in interfaceXMLStreamWriter
- Overrides:
writeCharacters
in classDelegatingXMLStreamWriter
- Parameters:
text
- the value to writestart
- the starting position in the arraylen
- the number of characters to write- Throws:
XMLStreamException
-
writeCharacters
- Specified by:
writeCharacters
in interfaceXMLStreamWriter
- Overrides:
writeCharacters
in classDelegatingXMLStreamWriter
- Throws:
XMLStreamException
-