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 class
FUN_XPath.UniversalNamespaceResolver
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
URI
The SPARQL function URI.
-
Constructor Summary
Constructors Constructor Description FUN_XPath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeValue
exec(NodeValue xml, NodeValue xpath)
NodeValue
nodeForNode(org.w3c.dom.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 java.lang.String URI
The SPARQL function URI.- See Also:
- Constant Field Values
-
-