Class Index | File Index

Classes


Class xrx.node


Defined in: node.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
xrx.node(pilot, type, token, instance)
A class which implements and extends the xrx.xdm interface.
Field Summary
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 Summary
Method Attributes Method Name and Description
<static>  
xrx.node.Comment()
TODO(jochen): implement this.
<static>  
xrx.node.compareOrder(node1, node2)
 
 
 
 
 
 
<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.
 
 
isBefore(node)
 
 
 
 
<static>  
TODO(jochen): implement this.
 
sameAs(node)
Returns whether two nodes are the same.
 
 
 
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.

<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.

{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:

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 17 2013 17:08:43 GMT+0200 (MESZ)