|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Item
This class represents an item in a sequence as defined by the XPath 2.0 specification.
Every item is either an atomic value
or
a node
.
Method Summary | |
---|---|
AtomicValue |
atomize()
|
int |
conversionPreference(Class javaClass)
|
AtomicValue |
convertTo(int requiredType)
Convert this item into an atomic value, whose type corresponds to the specified target type. |
void |
copyTo(DBBroker broker,
DocumentBuilderReceiver receiver)
|
String |
getStringValue()
Return the string value of this item (see the definition of string value in XPath). |
int |
getType()
Return the type of this item according to the type constants defined in class Type . |
void |
nodeMoved(NodeId oldNodeId,
StoredNode newNode)
Nodes may implement this method to be informed of storage address and node id changes after updates. |
Object |
toJavaObject(Class target)
|
void |
toSAX(DBBroker broker,
ContentHandler handler,
Properties properties)
|
Sequence |
toSequence()
Convert this item into a sequence, containing only the item. |
Method Detail |
---|
int getType()
Type
.
String getStringValue() throws XPathException
XPathException
Sequence toSequence()
AtomicValue convertTo(int requiredType) throws XPathException
Type
. An XPathException
is thrown
if the conversion is impossible.
requiredType
-
XPathException
AtomicValue atomize() throws XPathException
XPathException
void toSAX(DBBroker broker, ContentHandler handler, Properties properties) throws SAXException
SAXException
void copyTo(DBBroker broker, DocumentBuilderReceiver receiver) throws SAXException
SAXException
int conversionPreference(Class javaClass)
Object toJavaObject(Class target) throws XPathException
XPathException
void nodeMoved(NodeId oldNodeId, StoredNode newNode)
oldNodeId
- newNode
- UpdateListener
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |