org.gjt.xpp
Interface XmlRecorder

All Known Subinterfaces:
XmlFormatter

public interface XmlRecorder

This class represents abstract functionality necessary to to persist XML Pull Parser events.

Author:
Aleksander Slominski
See Also:
XmlWritable

Method Summary
 java.io.Writer getOutput()
           
 void setOutput(java.io.Writer out)
           
 void write(java.lang.Object o)
           
 void writeContent(java.lang.String s)
           
 void writeEndTag(XmlEndTag etag)
           
 void writeNode(XmlNode node)
           
 void writeStartTag(XmlStartTag stag)
           
 void writeStartTagAsEndTag(XmlStartTag stag)
           
 void writeStartTagStart(XmlStartTag stag)
           
 void writeXml(XmlWritable w)
           
 

Method Detail

getOutput

public java.io.Writer getOutput()
                         throws XmlPullParserException
Throws:
XmlPullParserException

setOutput

public void setOutput(java.io.Writer out)
               throws XmlPullParserException
Throws:
XmlPullParserException

write

public void write(java.lang.Object o)
           throws java.io.IOException,
                  XmlPullParserException
Throws:
java.io.IOException
XmlPullParserException

writeXml

public void writeXml(XmlWritable w)
              throws java.io.IOException,
                     XmlPullParserException
Throws:
java.io.IOException
XmlPullParserException

writeContent

public void writeContent(java.lang.String s)
                  throws java.io.IOException,
                         XmlPullParserException
Throws:
java.io.IOException
XmlPullParserException

writeEndTag

public void writeEndTag(XmlEndTag etag)
                 throws java.io.IOException,
                        XmlPullParserException
Throws:
java.io.IOException
XmlPullParserException

writeStartTag

public void writeStartTag(XmlStartTag stag)
                   throws java.io.IOException,
                          XmlPullParserException
Throws:
java.io.IOException
XmlPullParserException

writeStartTagStart

public void writeStartTagStart(XmlStartTag stag)
                        throws java.io.IOException,
                               XmlPullParserException
Throws:
java.io.IOException
XmlPullParserException

writeStartTagAsEndTag

public void writeStartTagAsEndTag(XmlStartTag stag)
                           throws java.io.IOException,
                                  XmlPullParserException
Throws:
java.io.IOException
XmlPullParserException

writeNode

public void writeNode(XmlNode node)
               throws java.io.IOException,
                      XmlPullParserException
Throws:
java.io.IOException
XmlPullParserException


Copyright (c) 2003 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.

Note this package is deprecated by XPP3 that implements XmlPull API