|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xml_project.morganaxdm.XdmSequence com.xml_project.morganaxdm.XdmItem com.xml_project.morganaxpath.nodes.ModelNode
public class ModelNode
This is the basic implementation of node() for XDM (likely to change in future versions).
Constructor Summary | |
---|---|
ModelNode(java.lang.Object node,
NodeModel aModel)
|
|
ModelNode(java.lang.Object node,
NodeModel aModel,
boolean directConstr)
|
|
ModelNode(java.lang.Object node,
NodeModel aModel,
boolean constrDoc,
boolean directConstr)
|
Method Summary | |
---|---|
AtomizingIterator |
atomize()
Returns an AtomizingIterator which gives access to the atomized value of the elements in this sequence. |
boolean |
contains(ModelNode n)
|
boolean |
equals(java.lang.Object other)
|
ModelNode |
getAttribute(javax.xml.namespace.QName qname)
|
XdmSequence |
getAxis(NodeModel.NodeAxis a)
|
java.lang.String |
getBaseURI()
|
ModelNode |
getDocumentNode()
|
java.lang.String |
getDocumentURI()
|
XdmSequence |
getIDREFs(java.util.List<java.lang.String> idrefs)
|
XdmSequence |
getIDs(java.util.List<java.lang.String> ids)
|
javax.xml.namespace.QName |
getName()
|
NodeModel.NodeKinds |
getNodeKind()
|
NodeModel |
getNodeModel()
|
java.lang.Class<? extends XS_AnyType> |
getNodeType()
|
NodeModel.NodeOrderNumber |
getOrderNumber()
|
XdmSequence |
getPrefixes()
|
java.lang.String |
getStringValue()
Returns the string value. |
XdmValue |
getTypedValue()
|
java.lang.String |
getUriForPrefix(java.lang.String prefix)
|
java.lang.Object |
getValue()
Returns the value itself. |
boolean |
isDirectlyConstructed()
|
boolean |
isPreviousTo(java.lang.Object other)
|
boolean |
isValue()
Flags, this item is a value as opposed to a node |
void |
setBaseURI(XS_AnyURI uri)
|
void |
setNotConstructed()
Setters |
Methods inherited from class com.xml_project.morganaxdm.XdmItem |
---|
first, get, hasValues, isEmpty, iterator, size, subSequence |
Methods inherited from class com.xml_project.morganaxdm.XdmSequence |
---|
concat, hasCommonType, normalize, serialize, serialize, serialize, wrap |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModelNode(java.lang.Object node, NodeModel aModel, boolean constrDoc, boolean directConstr)
public ModelNode(java.lang.Object node, NodeModel aModel, boolean directConstr)
public ModelNode(java.lang.Object node, NodeModel aModel)
Method Detail |
---|
public AtomizingIterator atomize()
XdmSequence
atomize
in class XdmItem
public boolean isValue()
XdmItem
isValue
in class XdmItem
public boolean contains(ModelNode n)
public boolean isDirectlyConstructed()
public XdmValue getTypedValue()
public java.lang.Class<? extends XS_AnyType> getNodeType()
public java.lang.String getStringValue()
XdmItem
getStringValue
in class XdmItem
public java.lang.Object getValue()
XdmItem
getValue
in class XdmItem
public XdmSequence getPrefixes() throws XPathException
XPathException
public ModelNode getDocumentNode()
public XdmSequence getIDs(java.util.List<java.lang.String> ids) throws XPathException
XPathException
public XdmSequence getIDREFs(java.util.List<java.lang.String> idrefs) throws XPathException
XPathException
public NodeModel.NodeKinds getNodeKind()
public NodeModel getNodeModel()
public javax.xml.namespace.QName getName()
public java.lang.String getDocumentURI()
public java.lang.String getBaseURI()
public java.lang.String getUriForPrefix(java.lang.String prefix)
public ModelNode getAttribute(javax.xml.namespace.QName qname) throws XPathException
XPathException
public XdmSequence getAxis(NodeModel.NodeAxis a) throws XPathException
XPathException
public void setNotConstructed()
public void setBaseURI(XS_AnyURI uri)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public boolean isPreviousTo(java.lang.Object other)
public NodeModel.NodeOrderNumber getOrderNumber()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |