Class xrx.node
Defined in: node.js.
Constructor Attributes | Constructor Name and Description |
---|---|
xrx.node(pilot, type, token, instance)
A class which implements and extends the xrx.xdm interface.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
xrx.node.ATTRIBUTE
|
<static> |
xrx.node.COMMENT
|
<static> |
xrx.node.DOCUMENT
|
<static> |
xrx.node.ELEMENT
|
<static> |
xrx.node.NAMESPACE
|
<static> |
xrx.node.NODE
|
<static> |
xrx.node.PI
|
<static> |
xrx.node.TEXT
|
Method Attributes | Method Name and Description |
---|---|
<static> |
xrx.node.Comment()
TODO(jochen): implement this.
|
<static> |
xrx.node.compareOrder(node1, node2)
|
getAncestorNodes(test)
|
|
getChildNodes(test)
|
|
getFollowingNodes(test)
|
|
getFollowingSiblingNodes(test)
|
|
getParentNodes(test)
|
|
<static> |
xrx.node.getValueAsBool(node)
Returns the string-value of the required type from a node, casted to boolean.
|
<static> |
xrx.node.getValueAsNumber(node)
Returns the string-value of the required type from a node, casted to number.
|
<static> |
xrx.node.getValueAsString(node)
Returns the string-value of the required type from a node.
|
instance()
|
|
isBefore(node)
|
|
label()
|
|
offset()
|
|
pilot()
|
|
<static> |
xrx.node.ProcessingInstruction()
TODO(jochen): implement this.
|
sameAs(node)
Returns whether two nodes are the same.
|
|
stream()
|
|
token()
|
|
type()
|
Class Detail
xrx.node(pilot, type, token, instance)
A class which implements and extends the xrx.xdm interface.
- Parameters:
- pilot
- type
- token
- instance
Field Detail
<static>
xrx.node.ATTRIBUTE
<static>
xrx.node.COMMENT
<static>
xrx.node.DOCUMENT
<static>
xrx.node.ELEMENT
<static>
xrx.node.NAMESPACE
<static>
xrx.node.NODE
<static>
xrx.node.PI
<static>
xrx.node.TEXT
Method Detail
<static>
xrx.node.Comment()
TODO(jochen): implement this.
Defined in: comment.js.
Defined in: comment.js.
<static>
xrx.node.compareOrder(node1, node2)
- Parameters:
- node1
- node2
- Returns:
expandedName()
getAncestorNodes(test)
- Parameters:
- test
getChildNodes(test)
- Parameters:
- test
getFollowingNodes(test)
- Parameters:
- test
getFollowingSiblingNodes(test)
- Parameters:
- test
getParentNodes(test)
- Parameters:
- test
<static>
{boolean}
xrx.node.getValueAsBool(node)
Returns the string-value of the required type from a node, casted to boolean.
- Parameters:
- {!xrx.node} node
- The node to get value from.
- Returns:
- {boolean} The value required.
<static>
{number}
xrx.node.getValueAsNumber(node)
Returns the string-value of the required type from a node, casted to number.
- Parameters:
- {!xrx.node} node
- The node to get value from.
- Returns:
- {number} The value required.
<static>
{string}
xrx.node.getValueAsString(node)
Returns the string-value of the required type from a node.
- Parameters:
- {!xrx.node} node
- The node to get value from.
- Returns:
- {string} The value required.
instance()
- Returns:
isBefore(node)
- Parameters:
- node
- Returns:
label()
- Returns:
namespaceUri()
offset()
- Returns:
pilot()
- Returns:
<static>
xrx.node.ProcessingInstruction()
TODO(jochen): implement this.
Defined in: processingInstruction.js.
Defined in: processingInstruction.js.
{boolean}
sameAs(node)
Returns whether two nodes are the same.
- Parameters:
- {xrx.node} node
- The node to test against.
- Returns:
- {boolean} Whether the nodes are the same.
stream()
- Returns:
token()
- Returns:
type()
- Returns: