Document

Constructors

this
this()
Undocumented in source.
this
this(string name)
Undocumented in source.

Members

Functions

save
void save(string fileName, bool isIndented)
Undocumented in source. Be warned that the author may not have intended to support it.
toPrettyString
string toPrettyString()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

load
Document load(string fileName)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
Document parse(string text)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Element

m_prefix
string m_prefix;
Undocumented in source.
m_value
string m_value;
Undocumented in source.
m_xmlns
string m_xmlns;
Undocumented in source.
m_first_node
Element m_first_node;
Undocumented in source.
m_last_node
Element m_last_node;
Undocumented in source.
m_first_attribute
Attribute m_first_attribute;
Undocumented in source.
m_last_attribute
Attribute m_last_attribute;
Undocumented in source.
m_prev_sibling
Element m_prev_sibling;
Undocumented in source.
m_next_sibling
Element m_next_sibling;
Undocumented in source.
m_contents
string m_contents;
Undocumented in source.
xmlns
string xmlns()
Undocumented in source. Be warned that the author may not have intended to support it.
document
Document document()
Undocumented in source. Be warned that the author may not have intended to support it.
lookupXmlns
void lookupXmlns(char[] xmlns, char[] prefix)
Undocumented in source. Be warned that the author may not have intended to support it.
namespacePrefix
string namespacePrefix()

Returns the fully qualified name of this element. This will be the same as the value returned from {@link #getName}if this element has no namespace attached to this element or an expression of the form <pre> getNamespacePrefix() + &quot;:&quot; + getName() </pre> will be returned.

namespacePrefix
void namespacePrefix(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getQualifiedName
string getQualifiedName()

Returns the fully qualified name of this element. This will be the same as the value returned from {@link #getName}if this element has no namespace attached to this element or an expression of the form <pre> getNamespacePrefix() + &quot;:&quot; + getName() </pre> will be returned.

getText
string getText()

<p> Returns the text of this node. </p>

setText
void setText(string text)

<p> Sets the text data of this node or this method will throw an <code>UnsupportedOperationException</code> if it is read-only. </p>

contents
string contents()
Undocumented in source. Be warned that the author may not have intended to support it.
contents
void contents(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
firstNode
Element firstNode(string name, string xmlns, bool caseSensitive)
Undocumented in source. Be warned that the author may not have intended to support it.
lastNode
Element lastNode(string name, string xmlns, bool caseSensitive)
Undocumented in source. Be warned that the author may not have intended to support it.
previousSibling
Element previousSibling(string name, string xmlns, bool caseSensitive)
Undocumented in source. Be warned that the author may not have intended to support it.
nextSibling
Element nextSibling(string name, string xmlns, bool caseSensitive)
Undocumented in source. Be warned that the author may not have intended to support it.
prependNode
void prependNode(Element child)
Undocumented in source. Be warned that the author may not have intended to support it.
appendNode
void appendNode(Element child)
Undocumented in source. Be warned that the author may not have intended to support it.
insertNode
void insertNode(Element where, Element child)
Undocumented in source. Be warned that the author may not have intended to support it.
removeFirstNode
void removeFirstNode()
Undocumented in source. Be warned that the author may not have intended to support it.
removeLastNode
void removeLastNode()
Undocumented in source. Be warned that the author may not have intended to support it.
removeNode
void removeNode(Element where)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAllNodes
void removeAllNodes()
Undocumented in source. Be warned that the author may not have intended to support it.
firstAttribute
Attribute firstAttribute(string name, bool caseSensitive)
Undocumented in source. Be warned that the author may not have intended to support it.
lastAttribute
Attribute lastAttribute(string name, bool caseSensitive)
Undocumented in source. Be warned that the author may not have intended to support it.
prependAttribute
void prependAttribute(Attribute attribute)
Undocumented in source. Be warned that the author may not have intended to support it.
appendAttribute
void appendAttribute(Attribute attribute)
Undocumented in source. Be warned that the author may not have intended to support it.
insertAttribute
void insertAttribute(Attribute where, Attribute attribute)
Undocumented in source. Be warned that the author may not have intended to support it.
removeFirstAttribute
void removeFirstAttribute()
Undocumented in source. Be warned that the author may not have intended to support it.
removeLastAttribute
void removeLastAttribute()
Undocumented in source. Be warned that the author may not have intended to support it.
removeAttribute
void removeAttribute(Attribute where)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAllAttributes
void removeAllAttributes()
Undocumented in source. Be warned that the author may not have intended to support it.
validate
bool validate()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta