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.
  • Constructor Details

    • 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)
  • Method Details

    • setIndent

      public void setIndent(boolean yes)
    • 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)