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.XmlSerializervoidvoidvoidvoidorg.xmlpull.v1.XmlSerializervoidvoidflush()intgetDepth()booleangetFeature(String name) getName()getProperty(String name) voidvoidvoidsetFeature(String name, boolean value) voidsetOutput(OutputStream os, String encoding) voidvoidvoidsetProperty(String name, Object value) voidstartDocument(String encoding, Boolean standalone) org.xmlpull.v1.XmlSerializerorg.xmlpull.v1.XmlSerializertext(char[] text, int start, int len) org.xmlpull.v1.XmlSerializer
-
Constructor Details
-
KXmlSerializer
public KXmlSerializer()
-
-
Method Details
-
docdecl
- Specified by:
docdeclin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
endDocument
- Specified by:
endDocumentin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
entityRef
- Specified by:
entityRefin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
getFeature
- Specified by:
getFeaturein interfaceorg.xmlpull.v1.XmlSerializer
-
getPrefix
-
getProperty
-
ignorableWhitespace
- Specified by:
ignorableWhitespacein interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
setFeature
- Specified by:
setFeaturein interfaceorg.xmlpull.v1.XmlSerializer
-
setProperty
-
setPrefix
- Specified by:
setPrefixin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
setOutput
- Specified by:
setOutputin interfaceorg.xmlpull.v1.XmlSerializer
-
setOutput
- Specified by:
setOutputin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
startDocument
- Specified by:
startDocumentin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
startTag
- Specified by:
startTagin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
attribute
public org.xmlpull.v1.XmlSerializer attribute(String namespace, String name, String value) throws IOException - Specified by:
attributein interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
flush
- Specified by:
flushin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
endTag
- Specified by:
endTagin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
getNamespace
- Specified by:
getNamespacein interfaceorg.xmlpull.v1.XmlSerializer
-
getName
- Specified by:
getNamein interfaceorg.xmlpull.v1.XmlSerializer
-
getDepth
public int getDepth()- Specified by:
getDepthin interfaceorg.xmlpull.v1.XmlSerializer
-
text
- Specified by:
textin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
text
- Specified by:
textin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
cdsect
- Specified by:
cdsectin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
comment
- Specified by:
commentin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-
processingInstruction
- Specified by:
processingInstructionin interfaceorg.xmlpull.v1.XmlSerializer- Throws:
IOException
-