Package org.apache.any23.extractor.xpath
Class TemplateSubject
- java.lang.Object
-
- org.apache.any23.extractor.xpath.Term<org.eclipse.rdf4j.model.Resource>
-
- org.apache.any23.extractor.xpath.TemplateSubject
-
public class TemplateSubject extends Term<org.eclipse.rdf4j.model.Resource>
Represents a Quad subject template.- Author:
- Michele Mostarda (mostarda@fbk.eu)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TemplateSubject.Type
Supported subject types.
-
Constructor Summary
Constructors Constructor Description TemplateSubject(TemplateSubject.Type type, String value, boolean isVar)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.rdf4j.model.Resource
getValueInternal(String value)
String
toString()
-
Methods inherited from class org.apache.any23.extractor.xpath.Term
getInternalValue, getValue, isVar
-
-
-
-
Constructor Detail
-
TemplateSubject
public TemplateSubject(TemplateSubject.Type type, String value, boolean isVar)
Constructor.- Parameters:
type
- subject type.value
- internal value.isVar
- iftrue
it the givenvalue
will be resolved with the variable value.
-
-