Package org.gjt.xpp
Interface XmlRecorder
-
- All Known Subinterfaces:
XmlFormatter
public interface XmlRecorderThis class represents abstract functionality necessary to to persist XML Pull Parser events.- Author:
- Aleksander Slominski
- See Also:
XmlWritable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.WritergetOutput()voidsetOutput(java.io.Writer out)voidwrite(java.lang.Object o)voidwriteContent(java.lang.String s)voidwriteEndTag(XmlEndTag etag)voidwriteNode(XmlNode node)voidwriteStartTag(XmlStartTag stag)voidwriteStartTagAsEndTag(XmlStartTag stag)voidwriteStartTagStart(XmlStartTag stag)voidwriteXml(XmlWritable w)
-
-
-
Method Detail
-
getOutput
java.io.Writer getOutput() throws XmlPullParserException- Throws:
XmlPullParserException
-
setOutput
void setOutput(java.io.Writer out) throws XmlPullParserException- Throws:
XmlPullParserException
-
write
void write(java.lang.Object o) throws java.io.IOException, XmlPullParserException- Throws:
java.io.IOExceptionXmlPullParserException
-
writeXml
void writeXml(XmlWritable w) throws java.io.IOException, XmlPullParserException
- Throws:
java.io.IOExceptionXmlPullParserException
-
writeContent
void writeContent(java.lang.String s) throws java.io.IOException, XmlPullParserException- Throws:
java.io.IOExceptionXmlPullParserException
-
writeEndTag
void writeEndTag(XmlEndTag etag) throws java.io.IOException, XmlPullParserException
- Throws:
java.io.IOExceptionXmlPullParserException
-
writeStartTag
void writeStartTag(XmlStartTag stag) throws java.io.IOException, XmlPullParserException
- Throws:
java.io.IOExceptionXmlPullParserException
-
writeStartTagStart
void writeStartTagStart(XmlStartTag stag) throws java.io.IOException, XmlPullParserException
- Throws:
java.io.IOExceptionXmlPullParserException
-
writeStartTagAsEndTag
void writeStartTagAsEndTag(XmlStartTag stag) throws java.io.IOException, XmlPullParserException
- Throws:
java.io.IOExceptionXmlPullParserException
-
writeNode
void writeNode(XmlNode node) throws java.io.IOException, XmlPullParserException
- Throws:
java.io.IOExceptionXmlPullParserException
-
-