Package org.kxml2.io
Class KXmlSerializer
java.lang.Object
org.kxml2.io.KXmlSerializer
- All Implemented Interfaces:
org.xmlpull.v1.XmlSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.xmlpull.v1.XmlSerializer
void
void
void
void
org.xmlpull.v1.XmlSerializer
void
void
flush()
int
getDepth()
boolean
getFeature
(String name) getName()
getProperty
(String name) void
void
void
setFeature
(String name, boolean value) void
setOutput
(OutputStream os, String encoding) void
void
void
setProperty
(String name, Object value) void
startDocument
(String encoding, Boolean standalone) org.xmlpull.v1.XmlSerializer
org.xmlpull.v1.XmlSerializer
text
(char[] text, int start, int len) org.xmlpull.v1.XmlSerializer
-
Constructor Details
-
KXmlSerializer
public KXmlSerializer()
-
-
Method Details
-
docdecl
- Specified by:
docdecl
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
endDocument
- Specified by:
endDocument
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
entityRef
- Specified by:
entityRef
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
getFeature
- Specified by:
getFeature
in interfaceorg.xmlpull.v1.XmlSerializer
-
getPrefix
- Specified by:
getPrefix
in interfaceorg.xmlpull.v1.XmlSerializer
-
getProperty
- Specified by:
getProperty
in interfaceorg.xmlpull.v1.XmlSerializer
-
ignorableWhitespace
- Specified by:
ignorableWhitespace
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
setFeature
- Specified by:
setFeature
in interfaceorg.xmlpull.v1.XmlSerializer
-
setProperty
- Specified by:
setProperty
in interfaceorg.xmlpull.v1.XmlSerializer
-
setPrefix
- Specified by:
setPrefix
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
setOutput
- Specified by:
setOutput
in interfaceorg.xmlpull.v1.XmlSerializer
-
setOutput
- Specified by:
setOutput
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
startDocument
- Specified by:
startDocument
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
startTag
- Specified by:
startTag
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
attribute
public org.xmlpull.v1.XmlSerializer attribute(String namespace, String name, String value) throws IOException - Specified by:
attribute
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
endTag
- Specified by:
endTag
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
getNamespace
- Specified by:
getNamespace
in interfaceorg.xmlpull.v1.XmlSerializer
-
getName
- Specified by:
getName
in interfaceorg.xmlpull.v1.XmlSerializer
-
getDepth
public int getDepth()- Specified by:
getDepth
in interfaceorg.xmlpull.v1.XmlSerializer
-
text
- Specified by:
text
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
text
- Specified by:
text
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
cdsect
- Specified by:
cdsect
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
comment
- Specified by:
comment
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-
processingInstruction
- Specified by:
processingInstruction
in interfaceorg.xmlpull.v1.XmlSerializer
- Throws:
IOException
-