|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(java.lang.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)
|
java.lang.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 . |
java.lang.Object |
toJavaObject(java.lang.Class target)
|
void |
toSAX(DBBroker broker,
org.xml.sax.ContentHandler handler)
|
Sequence |
toSequence()
Convert this item into a sequence, containing only the item. |
Method Detail |
public int getType()
Type
.
public java.lang.String getStringValue() throws XPathException
XPathException
public Sequence toSequence()
public AtomicValue convertTo(int requiredType) throws XPathException
Type
. An XPathException
is thrown
if the conversion is impossible.
requiredType
-
XPathException
public AtomicValue atomize() throws XPathException
XPathException
public void toSAX(DBBroker broker, org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void copyTo(DBBroker broker, DocumentBuilderReceiver receiver) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public int conversionPreference(java.lang.Class javaClass)
public java.lang.Object toJavaObject(java.lang.Class target) throws XPathException
XPathException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |