org.apache.tapestry5.javadoc
Class XDocStreamer

java.lang.Object
  extended by org.apache.tapestry5.javadoc.XDocStreamer

public class XDocStreamer
extends Object

Reads an XDOC file using SAX and streams its content (with some modifications) to an output stream.


Constructor Summary
XDocStreamer(File xdoc, Writer writer)
           
 
Method Summary
 void writeContent()
          Parse the file and write its transformed content to the Writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XDocStreamer

public XDocStreamer(File xdoc,
                    Writer writer)
Method Detail

writeContent

public void writeContent()
                  throws SAXException
Parse the file and write its transformed content to the Writer.

Throws:
SAXException


Copyright © 2003-2012 The Apache Software Foundation.