Substitute escape sequences for markup delimiter characters in the
provided string as per http://www.w3.org/TR/xml/#syntax.

Substitute escape sequences for markup delimiter characters in the
provided string as per http://www.w3.org/TR/xml/#syntax. The provided
string is expected to be used for character data in an XML document.
The returned string will be the same string provided if no markup
delimiters are found. A null string provided will result in a zero-length
string returned.

Map the specified QName according to namespace definitions
currently in effect.

Map the specified QName according to namespace definitions
currently in effect.
Returns a representation of the specified QName taking current
namespace definitions into account, using the currently-mapped
prefix, if one is currently mapped to the QName's namespace uri.
Also recursively traverse up the hierarchy to find a match.

Parameters

qname

Returns

String

a String representation of the qname with its prefix
adjusted to match the namespace definitions currently in effect.

Generate an XML representation of the element. The Base class
generates an XML representation of the namespaces in effect.
Overriding classes are expected to override this function and add
their own representation by calling super.toXML().