org.apache.uima.util
Class XMLSerializer
java.lang.Object
org.apache.uima.util.XMLSerializer
public class XMLSerializer
- extends Object
Utility class that generates XML output from SAX events or DOM nodes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSerializer
public XMLSerializer()
XMLSerializer
public XMLSerializer(boolean isFormattedOutput)
XMLSerializer
public XMLSerializer(OutputStream aOutputStream)
XMLSerializer
public XMLSerializer(OutputStream aOutputStream,
boolean isFormattedOutput)
XMLSerializer
public XMLSerializer(Writer aWriter)
XMLSerializer
public XMLSerializer(Writer aWriter,
boolean isFormattedOutput)
setOutputStream
public void setOutputStream(OutputStream aOutputStream)
setWriter
public void setWriter(Writer aWriter)
getContentHandler
public ContentHandler getContentHandler()
serialize
public void serialize(Node node)
dom2sax
public void dom2sax(Node node,
ContentHandler handler)
setOutputProperty
public void setOutputProperty(String name,
String value)
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.