public class Recorder extends java.lang.Object implements XmlRecorder
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
declaredNs |
protected java.lang.String[] |
declaredPrefixes |
protected java.io.Writer |
out |
Constructor and Description |
---|
Recorder() |
Modifier and Type | Method and Description |
---|---|
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) |
protected void |
writeEscaped(java.lang.String s,
boolean escapeApostAttrib) |
void |
writeNode(XmlNode node) |
void |
writeStartTag(XmlStartTag stag) |
void |
writeStartTagAsEndTag(XmlStartTag stag) |
void |
writeStartTagStart(XmlStartTag stag) |
void |
writeXml(XmlWritable w) |
protected java.lang.String[] declaredPrefixes
protected java.lang.String[] declaredNs
protected java.io.Writer out
public java.io.Writer getOutput()
getOutput
in interface XmlRecorder
public void setOutput(java.io.Writer out)
setOutput
in interface XmlRecorder
public void write(java.lang.Object o) throws java.io.IOException, XmlPullParserException
write
in interface XmlRecorder
java.io.IOException
XmlPullParserException
public void writeXml(XmlWritable w) throws java.io.IOException, XmlPullParserException
writeXml
in interface XmlRecorder
java.io.IOException
XmlPullParserException
public void writeContent(java.lang.String s) throws java.io.IOException, XmlPullParserException
writeContent
in interface XmlRecorder
java.io.IOException
XmlPullParserException
public void writeEndTag(XmlEndTag etag) throws java.io.IOException, XmlPullParserException
writeEndTag
in interface XmlRecorder
java.io.IOException
XmlPullParserException
public void writeStartTag(XmlStartTag stag) throws java.io.IOException, XmlPullParserException
writeStartTag
in interface XmlRecorder
java.io.IOException
XmlPullParserException
public void writeStartTagStart(XmlStartTag stag) throws java.io.IOException, XmlPullParserException
writeStartTagStart
in interface XmlRecorder
java.io.IOException
XmlPullParserException
public void writeStartTagAsEndTag(XmlStartTag stag) throws java.io.IOException, XmlPullParserException
writeStartTagAsEndTag
in interface XmlRecorder
java.io.IOException
XmlPullParserException
public void writeNode(XmlNode node) throws java.io.IOException, XmlPullParserException
writeNode
in interface XmlRecorder
java.io.IOException
XmlPullParserException
protected void writeEscaped(java.lang.String s, boolean escapeApostAttrib) throws java.io.IOException, XmlPullParserException
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