|
Qizx/open API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.axyana.qizxopen.xquery.dm.NodeBase
Abstract base for actual Node implementations.
Field Summary |
Fields inherited from interface net.axyana.qizxopen.xquery.XQItem |
INCOMPARABLE |
Fields inherited from interface net.axyana.qizxopen.dm.Node |
ATOM_ANY, ATOM_BOOL, ATOM_DATE, ATOM_DOUBLE, ATOM_INT, ATTRIBUTE, COMMENT, DOCUMENT, ELEMENT, NAMESPACE, PROCESSING_INSTRUCTION, TEXT |
Constructor Summary | |
NodeBase()
|
Method Summary | |
int |
compareTo(XQItem that,
java.text.Collator collator,
int implicitTimeZone)
Value comparison: equivalent to (untypedAtomic, string-value). |
boolean |
equals(java.lang.Object that)
Based on identity, not on string-value. |
boolean |
getBoolean()
Gets the item as a boolean value. |
java.math.BigDecimal |
getDecimal()
Gets the item as a decimal value. |
double |
getDouble()
Gets the item as a double value. |
float |
getFloat()
Gets the item as a float value. |
long |
getInteger()
Gets the item as a integer value. |
XQItem |
getItem()
|
XQNode |
getNode()
Gets the item as a Node value. |
java.lang.String |
getString()
Gets the item as a String value. |
XQItemType |
getType()
Returns the type description. |
int |
hashCode()
Based on identity, not on string-value. |
boolean |
isNode()
Tests whether the item is a Node. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.axyana.qizxopen.xquery.dm.XQNode |
getAncestors, getAncestorsOrSelf, getAttribute, getAttributes, getAttributes, getChildren, getChildren, getDescendants, getDescendantsOrSelf, getDocument, getFollowing, getFollowingSiblings, getNamespaces, getParent, getParent, getPreceding, getPrecedingSiblings |
Methods inherited from interface net.axyana.qizxopen.xquery.XQItem |
deepEqual |
Methods inherited from interface net.axyana.qizxopen.dm.Node |
addText, ancestors, ancestorsOrSelf, attribute, attributes, attributes, children, children, compareStringValues, contains, descendants, descendantsOrSelf, docPosition, document, following, followingSiblings, getBaseURI, getChars, getDefinedNSCount, getDocumentURI, getIntegerValue, getNature, getNodeKind, getNodeName, getNsPrefix, getNsUri, getStringValue, getValue, isAtom, isElement, isRemote, namespaces, orderCompare, parent, parent, preceding, precedingSiblings |
Constructor Detail |
public NodeBase()
Method Detail |
public XQItemType getType()
XQItem
getType
in interface XQItem
public boolean isNode()
XQItem
isNode
in interface XQItem
public boolean getBoolean() throws XQEvalException
XQItem
getBoolean
in interface XQItem
XQEvalException
public long getInteger() throws XQEvalException
XQItem
getInteger
in interface XQItem
XQEvalException
public java.math.BigDecimal getDecimal() throws XQEvalException
XQItem
getDecimal
in interface XQItem
XQEvalException
public float getFloat() throws XQEvalException
XQItem
getFloat
in interface XQItem
XQEvalException
public double getDouble() throws XQEvalException
XQItem
getDouble
in interface XQItem
XQEvalException
public java.lang.String getString() throws XQEvalException
XQItem
getString
in interface XQItem
XQEvalException
public XQNode getNode() throws XQEvalException
XQItem
getNode
in interface XQItem
XQEvalException
public XQItem getItem() throws XQEvalException
XQEvalException
public int compareTo(XQItem that, java.text.Collator collator, int implicitTimeZone) throws XQEvalException
compareTo
in interface XQItem
XQEvalException
public boolean equals(java.lang.Object that)
public int hashCode()
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |