SimpleSerializer

XML simple serializer class to output xml document to string

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Since

1.0

Constructors

Link copied to clipboard
private constructor()

Properties

Link copied to clipboard
attribute name for the namespace attribute
Link copied to clipboard
private val Begin_Attribute: String
begin of an attribute value
Link copied to clipboard
begin of a character data block
Link copied to clipboard
private val Begin_Tag: Char
begin of an xml tag
Link copied to clipboard
private val End_Attribute: Char
end of an attribute value
Link copied to clipboard
end of an character data block
Link copied to clipboard
private val End_Tag: Char
end of an xml tag
Link copied to clipboard
private val intentStr: String
Predefined intent prefix for pretty xml formatting
Link copied to clipboard
private val logger: Logger
log instance.
Link copied to clipboard
private val New_Line: Char
a new line for xml docs where indent id active.
Link copied to clipboard
Pattern to replace symbol &
Link copied to clipboard
Pattern to replace symbol '
Link copied to clipboard
Pattern to replace symbol >
Link copied to clipboard
Pattern to replace symbol <
Link copied to clipboard
private val Pattern_Quote: Pattern
Pattern to replace symbol "
Link copied to clipboard
private val TAG: String
Logging tag
Link copied to clipboard
private val XML_Header: String
standart cml header

Functions

Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
open fun documentToString(document: Node): String
Convert the given org.w3c.dom.Document to an XML String.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
private open fun escapeForXml(in: String): String
convert special symbols like &, >, <, ", ' into xml formal
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
private open fun indent(buffer: StringBuilder, indent: Int)
Add intent onto beginning of xml line
Link copied to clipboard
private open fun nodeToString(destination: StringBuilder, node: Node, indent: Int)
Convert the given Node to an XML String.
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun wait()