Method | Description | |
---|---|---|
Create ( |
Constructs a XPathNode. Later, the idxSibling and value fields may be fixed up.
|
|
Create ( |
Constructs the 0th XPathNode in each page, which contains only page information.
|
|
ElementMatch ( string localName, string namespaceName ) : bool |
Returns true if this is an Element node with a name that matches the specified localName and namespaceName. Assume that localName has been atomized, but namespaceName has not.
|
|
GetParent ( XPathNode &pageNode ) : int |
Returns the parent of this node. If this node has no parent, then 0 is returned.
|
|
GetRoot ( XPathNode &pageNode ) : int |
Returns the root node of the current document. This always succeeds.
|
|
GetSibling ( XPathNode &pageNode ) : int |
Returns the next sibling of this node. If this node has no next sibling, then 0 is returned.
|
|
GetSimilarElement ( XPathNode &pageNode ) : int |
Returns the next element in document order that has the same local name hashcode as this element. If there are no similar elements, then 0 is returned.
|
|
NameMatch ( string localName, string namespaceName ) : bool |
Returns true if this node's name matches the specified localName and namespaceName. Assume that localName has been atomized, but namespaceName has not.
|
|
SetCollapsedLineInfoOffset ( int posOffset ) : void |
Set the position offset of this element's collapsed text.
|
|
SetCollapsedValue ( string value ) : void |
Create a collapsed text node on this element having the specified value.
|
|
SetEmptyValue ( bool allowShortcutTag ) : void |
Create an empty element value.
|
|
SetLineInfoOffsets ( int lineNumOffset, int linePosOffset ) : void |
Set this node's line number information.
|
|
SetParentProperties ( XPathNodeType xptyp ) : void |
This method is called when a new child is appended to this node's list of attributes and children. The type of the new child is used to determine how various parent properties should be set.
|
|
SetSibling ( XPathNodeInfoTable infoTable, XPathNode pageSibling, int idxSibling ) : void |
Link this node to its next sibling. If "pageSibling" is different than the one stored in the InfoAtom, re-atomize.
|
|
SetSimilarElement ( XPathNodeInfoTable infoTable, XPathNode pageSimilar, int idxSimilar ) : void |
Link this element to the next element in document order that shares a local name having the same hash code. If "pageSimilar" is different than the one stored in the InfoAtom, re-atomize.
|
|
SetValue ( string value ) : void |
Set this node's value.
|
public Create ( |
||
info | ||
xptyp | XPathNodeType | |
idxParent | int | |
return | void |
public Create ( |
||
pageInfo | ||
return | void |
public ElementMatch ( string localName, string namespaceName ) : bool | ||
localName | string | |
namespaceName | string | |
return | bool |
public GetParent ( XPathNode &pageNode ) : int | ||
pageNode | XPathNode | |
return | int |
public GetSibling ( XPathNode &pageNode ) : int | ||
pageNode | XPathNode | |
return | int |
public GetSimilarElement ( XPathNode &pageNode ) : int | ||
pageNode | XPathNode | |
return | int |
public NameMatch ( string localName, string namespaceName ) : bool | ||
localName | string | |
namespaceName | string | |
return | bool |
public SetCollapsedLineInfoOffset ( int posOffset ) : void | ||
posOffset | int | |
return | void |
public SetCollapsedValue ( string value ) : void | ||
value | string | |
return | void |
public SetEmptyValue ( bool allowShortcutTag ) : void | ||
allowShortcutTag | bool | |
return | void |
public SetLineInfoOffsets ( int lineNumOffset, int linePosOffset ) : void | ||
lineNumOffset | int | |
linePosOffset | int | |
return | void |
public SetParentProperties ( XPathNodeType xptyp ) : void | ||
xptyp | XPathNodeType | |
return | void |
public SetSibling ( XPathNodeInfoTable infoTable, XPathNode pageSibling, int idxSibling ) : void | ||
infoTable | XPathNodeInfoTable | |
pageSibling | XPathNode | |
idxSibling | int | |
return | void |
public SetSimilarElement ( XPathNodeInfoTable infoTable, XPathNode pageSimilar, int idxSimilar ) : void | ||
infoTable | XPathNodeInfoTable | |
pageSimilar | XPathNode | |
idxSimilar | int | |
return | void |