Class ExtnFct_ToBNode
java.lang.Object
se.liu.ida.hefquin.mappings.algebra.exprs.fcts.ExtnFct_ToBNode
- All Implemented Interfaces:
ExtensionFunction
Given a string literal, returns a blank node that is unique per every
possible string literal. That is, calling this function twice with the
same string literal will result in the same blank node, whereas calling
it twice with two different string literals will result in two different
blank nodes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.Nodeapply(org.apache.jena.graph.Node... args) booleanisCorrectNumberOfArgument(int n) toString()
-
Field Details
-
instance
-
-
Constructor Details
-
ExtnFct_ToBNode
protected ExtnFct_ToBNode()
-
-
Method Details
-
isCorrectNumberOfArgument
public boolean isCorrectNumberOfArgument(int n) - Specified by:
isCorrectNumberOfArgumentin interfaceExtensionFunction
-
apply
public org.apache.jena.graph.Node apply(org.apache.jena.graph.Node... args) - Specified by:
applyin interfaceExtensionFunction
-
toString
-