Class FUN_XPath
- java.lang.Object
 - 
- org.apache.jena.sparql.function.FunctionBase
 - 
- org.apache.jena.sparql.function.FunctionBase2
 - 
- fr.mines_stetienne.ci.sparql_generate.xml.FUN_XPath
 
 
 
 
- 
- All Implemented Interfaces:
 Function
public class FUN_XPath extends FunctionBase2
Binding function fun:XPath extracts a string from a XML document, according to a XPath expression.- Param 1 is the input string;
 - Param 2 is a XPath expression;
 - Result is a boolean, float, double, integer, string, as it best fits.
 
- Author:
 - Maxime Lefrançois
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFUN_XPath.UniversalNamespaceResolver 
- 
Constructor Summary
Constructors Constructor Description FUN_XPath() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeValueexec(NodeValue xml, NodeValue xpath)NodeValuenodeForNode(Node xmlNode)- 
Methods inherited from class org.apache.jena.sparql.function.FunctionBase2
checkBuild, exec 
- 
Methods inherited from class org.apache.jena.sparql.function.FunctionBase
build, evalArgs, exec, exec 
 - 
 
 - 
 
- 
- 
Field Detail
- 
URI
public static final String URI
The SPARQL function URI.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
exec
public NodeValue exec(NodeValue xml, NodeValue xpath)
- Specified by:
 execin classFunctionBase2
 
- 
nodeForNode
public NodeValue nodeForNode(Node xmlNode) throws TransformerException
- Throws:
 TransformerException
 
 - 
 
 -