org.gjt.xpp

Interface XmlRecorder

Known Subinterfaces:
XmlFormatter
Known Implementing Classes:
Formatter, Recorder

public interface XmlRecorder

This class represents abstract functionality necessary to to persist XML Pull Parser events.
Author:
Aleksander Slominski
See Also:
XmlWritable

Method Summary

Writer
getOutput()
void
setOutput(Writer out)
void
write(Object o)
void
writeContent(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 Details

getOutput

public Writer getOutput()
            throws XmlPullParserException

setOutput

public void setOutput(Writer out)
            throws XmlPullParserException

write

public void write(Object o)
            throws IOException,
                   XmlPullParserException

writeContent

public void writeContent(String s)
            throws IOException,
                   XmlPullParserException

writeEndTag

public void writeEndTag(XmlEndTag etag)
            throws IOException,
                   XmlPullParserException

writeNode

public void writeNode(XmlNode node)
            throws IOException,
                   XmlPullParserException

writeStartTag

public void writeStartTag(XmlStartTag stag)
            throws IOException,
                   XmlPullParserException

writeStartTagAsEndTag

public void writeStartTagAsEndTag(XmlStartTag stag)
            throws IOException,
                   XmlPullParserException

writeStartTagStart

public void writeStartTagStart(XmlStartTag stag)
            throws IOException,
                   XmlPullParserException

writeXml

public void writeXml(XmlWritable w)
            throws 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