|
augFirstChild
|
|
|
Access
|
read-only
|
|
Returns
|
Node
|
|
augLastChild
|
|
|
Access
|
read-only
|
|
Returns
|
Node
|
|
augNextSibling
|
|
|
Access
|
read-only
|
|
Returns
|
Node
|
|
augParentNode
|
|
|
Access
|
read-only
|
|
Returns
|
Node
|
|
augPreviousSibling
|
|
|
Access
|
read-only
|
|
Returns
|
Node
|
|
augRefererNode
|
|
|
Access
|
read-only
|
|
Returns
|
Node
|
|
endContent
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
endPosition
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
extendedNodeType
|
|
|
Access
|
read-only
|
|
Returns
|
unsigned short
|
|
hasAugmentation
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
namespaceDefinitions
|
|
|
Access
|
read-only
|
|
Returns
|
fArray
|
|
namespacesInScope
|
|
|
Access
|
read-only
|
|
Returns
|
fArray
|
|
nodeNumber
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
significantWhitespace
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
startContent
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
startPosition
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
validAttributes
|
|
|
Access
|
read-only
|
|
Returns
|
String
|
|
validContent
|
|
|
Access
|
read-only
|
|
Returns
|
String
|
|
withinAugmentation
|
|
|
Access
|
read-only
|
|
Returns
|
boolean
|
|
augSerialize contentOnly prettyPrint
|
|
|
Parameters
|
boolean contentOnly
If false (the default), the name and attributes of the node are included in the serialization. If true, the name and attributes of the node are omitted. In both cases, all information from the nodes children is included
boolean prettyPrint
If true, will format the serialized augmented node. If contentOnly is true, then it will not format the augmented node.
|
|
Returns
|
String. The serialized version of the augmented node.
|
|
augmentAfter node
|
|
|
Parameters
|
Node node
The Node to set as the Augmentation After, or null to remove.
|
|
Returns
|
Node. The Node that was created for the augmentation.
|
|
augmentBefore node
|
|
|
Parameters
|
Node node
The Node to set as the Augmentation Before or null to remove.
|
|
Returns
|
Node. The Node that was created for the augmentation
|
|
augmentReference reference mode
|
|
|
Parameters
|
String reference
The reference text to use on the PI. e.g. 'resetCounter counter="test"'.
int mode
The mode to handle the reference. If 0, the reference is prepended to the internal reference list. If 1, the reference is appended to the internal reference list. If 2, the reference is removed from the internal reference list.
|
|
Returns
|
Node. The Node that was created for the augmentation.
|
|
evaluateXPath expression
|
|
|
Parameters
|
String expression
The XPath expression string to be parsed and evaluated.
|
|
Returns
|
XPathResult. The result of the evaluation of the XPath expression.
|
|
Throws
|
XPathException
INVALID_EXPRESSION_ERR: Raised if the expression is not legal according to the rules of the XPathEvaluator.
|
|
getLanguage
|
|
|
Parameters
|
None
|
|
Returns
|
String. The language.
|
|
getNodePath mode
|
|
|
Parameters
|
int mode
If not specified, or 0, the returned path uses expanded local-name and namespace-uri syntax for elements within namespaces.
If 1, the returned path uses the specifed prefix on elements within a namespace.
mode 0: /document/chapter[1]/section[5]/node()[ local-name()="title" and namespace-uri()="URN:example:urn" ]
mode 1: /document/chapter[1]/section[5]/ex:title
|
|
Returns
|
String. Returns the absolute location path to this xmlNode.
|
|
getPage
|
|
|
Parameters
|
None
|
|
Returns
|
fPage
|
|
getUserString key
|
|
|
Parameters
|
String key
The key to the associated string.
|
|
Returns
|
String. The userString associated to the given key on this xmlNode, or NULL if there was none.
|
|
getXmlBase
|
|
|
Parameters
|
None
|
|
Returns
|
String. Returns the base URI string.
|
|
getXmlLang
|
|
|
Parameters
|
None
|
|
Returns
|
String. In the default definition, returns an empty string.
|
|
getXmlSpace
|
|
|
Parameters
|
None
|
|
Returns
|
String. In the default definition, returns -1.
|
|
hasNamespacesInScope
|
|
|
Parameters
|
None
|
|
Returns
|
booleantrue if this node has a list of namespaces, false otherwise.
|
|
lookupNamespacePrefix prefix
|
|
|
Parameters
|
String prefix
The prefix to search for.
|
|
Returns
|
String. Returns the associated namespace URI or null if none is found.
|
|
serialize contentOnly prettyPrint
|
|
|
Parameters
|
boolean contentOnly
If false (the default), the name and attributes of the node are included in the serialization. If true, the name and attributes of the node are omitted. In both cases, all information from the nodes children is included
boolean prettyPrint
If true, will format the serialized node. If contentOnly is true, then it will not format the node.
|
|
Returns
|
String. The serialized version of the node.
|
|
setUserString key data
|
|
|
Parameters
|
String key
The key to associate the string to.
String data
The string to associate to the given key, or NULL to remove any existing association to that key
|
|
Returns
|
String. The string previously associated to the given key on this node, or NULL if there was none.
|