org.gjt.xpp.impl.format
Class Recorder
java.lang.Object
org.gjt.xpp.impl.format.Recorder
- All Implemented Interfaces:
- XmlRecorder
- Direct Known Subclasses:
- Formatter
public class Recorder
- extends java.lang.Object
- implements XmlRecorder
Implementatin of Recorder that is simply writing XML to output sink.
- Author:
- Aleksander Slominski
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
declaredPrefixes
protected java.lang.String[] declaredPrefixes
declaredNs
protected java.lang.String[] declaredNs
out
protected java.io.Writer out
Recorder
public Recorder()
getOutput
public java.io.Writer getOutput()
- Specified by:
getOutput
in interface XmlRecorder
setOutput
public void setOutput(java.io.Writer out)
- Specified by:
setOutput
in interface XmlRecorder
write
public void write(java.lang.Object o)
throws java.io.IOException,
XmlPullParserException
- Specified by:
write
in interface XmlRecorder
- Throws:
java.io.IOException
XmlPullParserException
writeXml
public void writeXml(XmlWritable w)
throws java.io.IOException,
XmlPullParserException
- Specified by:
writeXml
in interface XmlRecorder
- Throws:
java.io.IOException
XmlPullParserException
writeContent
public void writeContent(java.lang.String s)
throws java.io.IOException,
XmlPullParserException
- Specified by:
writeContent
in interface XmlRecorder
- Throws:
java.io.IOException
XmlPullParserException
writeEndTag
public void writeEndTag(XmlEndTag etag)
throws java.io.IOException,
XmlPullParserException
- Specified by:
writeEndTag
in interface XmlRecorder
- Throws:
java.io.IOException
XmlPullParserException
writeStartTag
public void writeStartTag(XmlStartTag stag)
throws java.io.IOException,
XmlPullParserException
- Specified by:
writeStartTag
in interface XmlRecorder
- Throws:
java.io.IOException
XmlPullParserException
writeStartTagStart
public void writeStartTagStart(XmlStartTag stag)
throws java.io.IOException,
XmlPullParserException
- Specified by:
writeStartTagStart
in interface XmlRecorder
- Throws:
java.io.IOException
XmlPullParserException
writeStartTagAsEndTag
public void writeStartTagAsEndTag(XmlStartTag stag)
throws java.io.IOException,
XmlPullParserException
- Specified by:
writeStartTagAsEndTag
in interface XmlRecorder
- Throws:
java.io.IOException
XmlPullParserException
writeNode
public void writeNode(XmlNode node)
throws java.io.IOException,
XmlPullParserException
- Specified by:
writeNode
in interface XmlRecorder
- Throws:
java.io.IOException
XmlPullParserException
writeEscaped
protected void writeEscaped(java.lang.String s,
boolean escapeApostAttrib)
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