public class DetermineNodeType extends Object implements NodeSetFilter
| Constructor and Description |
|---|
DetermineNodeType() |
| Modifier and Type | Method and Description |
|---|---|
RDFDatatype |
getDatatype() |
String |
getLanguage() |
boolean |
isLimittedToBlankNodes() |
boolean |
isLimittedToLiterals() |
boolean |
isLimittedToURIs() |
void |
limitTo(Node node)
Limits this node set to one particular node.
|
void |
limitToBlankNodes()
Limits this node set to blank nodes.
|
void |
limitToEmptySet()
Limits the node set to the empty set.
|
void |
limitToLiterals(String language,
RDFDatatype datatype)
Limits this node set to literals having a particular language
tag and datatype.
|
void |
limitToURIs()
Limits this node set to URI nodes.
|
void |
limitValues(String constant)
Limits this node set to the node that has a particular
constant value.
|
void |
limitValuesToAttribute(Attribute attribute)
Limits this node set to those whose value matches a value in a
particular database table column.
|
void |
limitValuesToBlankNodeID(BlankNodeID id)
Limits this node set to nodes whose value matches the values
produced by a blank node ID.
|
void |
limitValuesToExpression(Expression expression)
Limits this node set to nodes whose value matches the given
SQL expression.
|
void |
limitValuesToPattern(Pattern pattern)
Limits this node set to nodes whose value matches the values
produced by a pattern.
|
void |
setUsesTranslator(Translator translator)
Registers the use of a translator to create values in this node set.
|
public boolean isLimittedToURIs()
public RDFDatatype getDatatype()
public String getLanguage()
public boolean isLimittedToBlankNodes()
public boolean isLimittedToLiterals()
public void limitTo(Node node)
NodeSetFilterlimitTo in interface NodeSetFilternode - A fixed singleton nodepublic void limitToBlankNodes()
NodeSetFilterlimitToBlankNodes in interface NodeSetFilterpublic void limitToEmptySet()
NodeSetFilterlimitToEmptySet in interface NodeSetFilterpublic void limitToLiterals(String language, RDFDatatype datatype)
NodeSetFilterlimitToLiterals in interface NodeSetFilterlanguage - The language tag of all nodes in the set, or null
for plain or datatype literalsdatatype - The datatype of all nodes in the set, or null
for plain literalspublic void limitToURIs()
NodeSetFilterlimitToURIs in interface NodeSetFilterpublic void limitValues(String constant)
NodeSetFilterlimitValues in interface NodeSetFilterconstant - The value of the node in this setpublic void limitValuesToAttribute(Attribute attribute)
NodeSetFilterlimitValuesToAttribute in interface NodeSetFilterattribute - The attribute containing possible valuespublic void limitValuesToBlankNodeID(BlankNodeID id)
NodeSetFilterlimitValuesToBlankNodeID in interface NodeSetFilterid - The blank node ID producing possible valuespublic void limitValuesToExpression(Expression expression)
NodeSetFilterlimitValuesToExpression in interface NodeSetFilterexpression - The SQL expression that generates possible valuespublic void limitValuesToPattern(Pattern pattern)
NodeSetFilterlimitValuesToPattern in interface NodeSetFilterpattern - The pattern producing possible valuespublic void setUsesTranslator(Translator translator)
NodeSetFiltersetUsesTranslator in interface NodeSetFiltertranslator - A translator used to create values in this node set