|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.saxon.SaxonXQuery
public class SaxonXQuery
Concrete implementation of IOXPath interface using Saxon.
biz.c24.io.api.data.saxon
,
Saxon for information on using Saxon over C24 Integration Objects objects directly.Constructor Summary | |
---|---|
SaxonXQuery(String query)
Creates a new instance with the specified xpath expression. |
|
SaxonXQuery(XQueryStatement statement)
Creates a new instance with the specified xquery query. |
Method Summary | |
---|---|
boolean |
getBoolean(ComplexDataObject o)
Returns a boolean representation of the node specified by this object's XPath expression. |
List |
getList(ComplexDataObject o)
Returns a List representation of the node specified by this object's XPath expression. |
Number |
getNumber(ComplexDataObject o)
Returns a Number representation of the node specified by this object's XPath expression. |
Object |
getObject(ComplexDataObject o)
Returns an Object representation of the node specified by this object's XPath expression. |
String |
getString(ComplexDataObject o)
Returns a String representation of the node specified by this object's XPath expression. |
void |
setConfiguration(net.sf.saxon.Configuration config)
Sets the configuration to be used by Saxon. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SaxonXQuery(String query)
expression
- The xquery expression.public SaxonXQuery(XQueryStatement statement)
statement
- the XQuery query.Method Detail |
---|
public void setConfiguration(net.sf.saxon.Configuration config)
This allows multiple instances to share a configuration managed externally and reuse it's name pool.
config
- public Object getObject(ComplexDataObject o) throws IOXPathException
IOXPath
getObject
in interface IOXPath
o
- The ComplexDataObject
on which the expression will be evaluated.
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.public List getList(ComplexDataObject o) throws IOXPathException
IOXPath
getList
in interface IOXPath
o
- The ComplexDataObject
on which the expression will be evaluated.
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.public boolean getBoolean(ComplexDataObject o) throws IOXPathException
IOXPath
getBoolean
in interface IOXPath
o
- The ComplexDataObject
on which the expression will be evaluated.
true if the underlying implementation evaluates the XPath expression to true.
- Throws:
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.
public Number getNumber(ComplexDataObject o) throws IOXPathException
IOXPath
getNumber
in interface IOXPath
o
- The ComplexDataObject
on which the expression will be evaluated.
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.public String getString(ComplexDataObject o) throws IOXPathException
IOXPath
getString
in interface IOXPath
o
- The ComplexDataObject
on which the expression will be evaluated.
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |