Package org.apache.uima.util
Class XMLSerializer
java.lang.Object
org.apache.uima.util.XMLSerializer
Utility class that generates XML output from SAX events or DOM nodes.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
This class wraps the standard content handler -
Constructor Summary
ConstructorDescriptionXMLSerializer
(boolean isFormattedOutput) XMLSerializer
(OutputStream aOutputStream) XMLSerializer
(OutputStream aOutputStream, boolean isFormattedOutput) XMLSerializer
(Writer aWriter) XMLSerializer
(Writer aWriter, boolean isFormattedOutput) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dom2sax
(Node node, ContentHandler handler) void
void
setIndent
(boolean yes) void
setOutputProperty
(String name, String value) void
setOutputStream
(OutputStream aOutputStream) void
-
Constructor Details
-
XMLSerializer
public XMLSerializer() -
XMLSerializer
public XMLSerializer(boolean isFormattedOutput) -
XMLSerializer
-
XMLSerializer
-
XMLSerializer
-
XMLSerializer
-
-
Method Details
-
setIndent
public void setIndent(boolean yes) -
setOutputStream
-
setWriter
-
getContentHandler
-
serialize
-
dom2sax
-
setOutputProperty
-