XMLElement is an XML element. The standard NanoXML builder generates a tree of such elements.
See Also:net.n3.nanoxml.StdXMLBuilder author: Marc De Scheemaecker version: $Name$, $Revision: 2056 $
getAttribute(String name, String defaultValue) Returns the value of an attribute.
Parameters: name - the non-null name of the attribute. Parameters: defaultValue - the default value of the attribute.
Creates an empty element.
Parameters: name - the name of the element. Parameters: systemID - the system ID of the XML data where the element starts. Parameters: lineNr - the line in the XML data where the element starts.
Returns the value of an attribute.
Parameters: name - the non-null name of the attribute. Parameters: defaultValue - the default value of the attribute. the value, or defaultValue if the attribute does not exist.
Return the #PCDATA content of the element. If the element has a combination of #PCDATA
content and child elements, the #PCDATA sections can be retrieved as unnamed child objects.
In this case, this method returns null.
the content.
Returns the line number in the data where the element started.
the line number, or NO_LINE if unknown. See Also:XMLElement.NO_LINE See Also:XMLElement.getSystemID
Sets the #PCDATA content. It is an error to call this method with a non-null value if there
are child objects.
Parameters: content - the (possibly null) content.