Class Recorder
java.lang.Object
org.gjt.xpp.impl.format.Recorder
- All Implemented Interfaces:
XmlRecorder
- Direct Known Subclasses:
Formatter
Implementatin of Recorder that is simply writing XML to output sink.
- Author:
- Aleksander Slominski
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidwriteEndTag(XmlEndTag etag) protected voidwriteEscaped(String s, boolean escapeApostAttrib) voidvoidwriteStartTag(XmlStartTag stag) voidvoidvoid
-
Field Details
-
declaredPrefixes
-
declaredNs
-
out
-
-
Constructor Details
-
Recorder
public Recorder()
-
-
Method Details
-
getOutput
- Specified by:
getOutputin interfaceXmlRecorder
-
setOutput
- Specified by:
setOutputin interfaceXmlRecorder
-
write
- Specified by:
writein interfaceXmlRecorder- Throws:
IOExceptionXmlPullParserException
-
writeXml
- Specified by:
writeXmlin interfaceXmlRecorder- Throws:
IOExceptionXmlPullParserException
-
writeContent
- Specified by:
writeContentin interfaceXmlRecorder- Throws:
IOExceptionXmlPullParserException
-
writeEndTag
- Specified by:
writeEndTagin interfaceXmlRecorder- Throws:
IOExceptionXmlPullParserException
-
writeStartTag
- Specified by:
writeStartTagin interfaceXmlRecorder- Throws:
IOExceptionXmlPullParserException
-
writeStartTagStart
- Specified by:
writeStartTagStartin interfaceXmlRecorder- Throws:
IOExceptionXmlPullParserException
-
writeStartTagAsEndTag
- Specified by:
writeStartTagAsEndTagin interfaceXmlRecorder- Throws:
IOExceptionXmlPullParserException
-
writeNode
- Specified by:
writeNodein interfaceXmlRecorder- Throws:
IOExceptionXmlPullParserException
-
writeEscaped
protected void writeEscaped(String s, boolean escapeApostAttrib) throws IOException, XmlPullParserException - Throws:
IOExceptionXmlPullParserException
-