|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An Item is an object that can occur as a member of a sequence. There are two kinds of Item: simple values, and nodes.
Method Summary | |
java.lang.String |
getStringValue()
Get the value of the item as a string |
SequenceIterator |
getTypedValue(Configuration config)
Get the typed value of the item |
Method Detail |
public java.lang.String getStringValue() throws XPathException
XPathException
- if the string value cannot be obtained. Some
items have no string value, e.g. a QNamepublic SequenceIterator getTypedValue(Configuration config) throws XPathException
config
- the configuration: this is needed because it provides access
to schema information needed to interpret the type annotation
XPathException
- where no typed value is available, e.g. for
an element with complex content
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |