|
Qizx/Open v0.4p2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.xfra.qizxopen.dm.CoreDM.BaseNode
[Internal].
| Field Summary | |
CoreDM.BaseNode |
nextSibling
|
int |
order
|
net.xfra.qizxopen.dm.CoreDM.Element |
parent
|
| Fields inherited from interface net.xfra.qizxopen.dm.Node |
ATOM_ANY, ATOM_BOOL, ATOM_DATE, ATOM_DOUBLE, ATOM_INT, ATTRIBUTE, COMMENT, DOCUMENT, ELEMENT, NAMESPACE, PROCESSING_INSTRUCTION, TEXT |
| Constructor Summary | |
CoreDM.BaseNode()
|
|
| Method Summary | |
void |
addNamespace(java.lang.String prefix,
java.lang.String value)
|
NodeSequence |
ancestors(NodeTest nodeTest)
Returns an iterator on ancestors that match the node test. |
NodeSequence |
ancestorsOrSelf(NodeTest nodeTest)
Returns an iterator on ancestors (including the node itself) that match the node test. |
NodeSequence |
attributes(NodeTest nodeTest)
Returns an iterator on attributes of this element that match the node test. |
NodeSequence |
children(NodeTest nodeTest)
Returns an iterator on children that match the node test. |
int |
compareStringValues(Node that,
java.text.Collator collator)
Compares the string values of two nodes, optionally using a collation. |
boolean |
contains(Node node)
Returns true if this node is an ancestor of the parameter node or the node itself. |
boolean |
deepEq(Node that,
java.text.Collator collator)
|
boolean |
deepEqual(Node node,
java.text.Collator collator)
|
NodeSequence |
descendants(NodeTest nodeTest)
Returns an iterator on descendants that match the node test. |
NodeSequence |
descendantsOrSelf(NodeTest nodeTest)
Returns an iterator on descendants (including the node itself) that match the node test. |
int |
docPosition()
Returns an arbitrary value that is stable on the whole document (for order comparison). |
Node |
document()
Returns the document node if any, else the top-level node. |
boolean |
equals(java.lang.Object that)
|
NodeSequence |
following(NodeTest nodeTest)
Returns an iterator on following nodes that match the node test. |
NodeSequence |
followingSiblings(NodeTest nodeTest)
Returns an iterator on following siblings that match the node test. |
java.lang.String |
getBaseURI()
Accessor dm:base-uri(). |
char[] |
getChars()
Gets text contents as a char array. |
int |
getDefinedNSCount()
Number of Namespaces defined on this particular node. |
java.lang.String |
getDocumentURI()
Returns the URI of the document. |
long |
getIntegerValue()
Returns the integer value (attempts to convert). |
QName |
getNodeName()
Accessor dm:node-name(). |
java.lang.Object |
getValue()
Returns the value of an atomic node. |
CoreDM.BaseNode |
nodeAfter()
|
CoreDM.BaseNode |
nodeNext()
|
int |
orderCompare(Node node)
Returns -1 if this node is strictly before the argument node in document order, 0 if nodes are identical, 1 if after the argument node. |
Node |
parent()
Accessor dm:parent(). |
NodeSequence |
parent(NodeTest nodeTest)
Returns a sequence of length 1 (if the parent matches the nodeTest) else 0. |
NodeSequence |
preceding(NodeTest nodeTest)
Returns an iterator preceding nodes (in document order) that match the node test. |
NodeSequence |
precedingSiblings(NodeTest nodeTest)
Returns an iterator on preceding siblings (in document order) that match the node test. |
void |
setNextSibling(CoreDM.BaseNode sibling)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.xfra.qizxopen.dm.Node |
addText, attribute, attributes, children, getNature, getNodeKind, getNsPrefix, getNsUri, getStringValue, isAtom, isElement, namespaces |
| Field Detail |
public net.xfra.qizxopen.dm.CoreDM.Element parent
public CoreDM.BaseNode nextSibling
public int order
| Constructor Detail |
public CoreDM.BaseNode()
| Method Detail |
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getBaseURI()
Node
getBaseURI in interface Nodepublic java.lang.String getDocumentURI()
Node
getDocumentURI in interface Nodepublic QName getNodeName()
Node
getNodeName in interface Nodepublic Node parent()
Node
parent in interface Nodepublic Node document()
Node
document in interface Nodepublic int orderCompare(Node node)
Node
orderCompare in interface Nodepublic boolean contains(Node node)
Node
contains in interface Nodepublic boolean equals(java.lang.Object that)
equals in class java.lang.Object
public boolean deepEqual(Node node,
java.text.Collator collator)
public boolean deepEq(Node that,
java.text.Collator collator)
public int compareStringValues(Node that,
java.text.Collator collator)
Node
compareStringValues in interface Nodepublic CoreDM.BaseNode nodeNext()
public CoreDM.BaseNode nodeAfter()
public int docPosition()
Node
docPosition in interface Nodepublic int getDefinedNSCount()
Node
getDefinedNSCount in interface Node
public void addNamespace(java.lang.String prefix,
java.lang.String value)
public char[] getChars()
Node
getChars in interface Nodepublic java.lang.Object getValue()
Node
getValue in interface Node
public long getIntegerValue()
throws DataModelException
Node
getIntegerValue in interface NodeDataModelException - if not convertible to integer.public NodeSequence ancestors(NodeTest nodeTest)
Node
ancestors in interface NodenodeTest - concrete classes are BaseNodeTest, UnionNodeTest.public NodeSequence ancestorsOrSelf(NodeTest nodeTest)
Node
ancestorsOrSelf in interface NodenodeTest - concrete classes are BaseNodeTest, UnionNodeTest.public NodeSequence parent(NodeTest nodeTest)
Node
parent in interface Nodepublic NodeSequence children(NodeTest nodeTest)
Node
children in interface Nodepublic NodeSequence descendants(NodeTest nodeTest)
Node
descendants in interface Nodepublic NodeSequence descendantsOrSelf(NodeTest nodeTest)
Node
descendantsOrSelf in interface Nodepublic NodeSequence attributes(NodeTest nodeTest)
Node
attributes in interface Nodepublic NodeSequence followingSiblings(NodeTest nodeTest)
Node
followingSiblings in interface Nodepublic NodeSequence precedingSiblings(NodeTest nodeTest)
Node
precedingSiblings in interface Nodepublic NodeSequence following(NodeTest nodeTest)
Node
following in interface Nodepublic NodeSequence preceding(NodeTest nodeTest)
Node
preceding in interface Nodepublic void setNextSibling(CoreDM.BaseNode sibling)
|
Copyright Xavier FRANC 2003-2004 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||