org.apache.any23.extractor.xpath
Class TemplateSubject
java.lang.Object
org.apache.any23.extractor.xpath.Term<org.openrdf.model.Resource>
org.apache.any23.extractor.xpath.TemplateSubject
public class TemplateSubject
- extends Term<org.openrdf.model.Resource>
Represents a Quad subject template.
- Author:
- Michele Mostarda (mostarda@fbk.eu)
TemplateSubject
public TemplateSubject(TemplateSubject.Type type,
String value,
boolean isVar)
- Constructor.
- Parameters:
type
- subject type.value
- internal value.isVar
- if true
it the given value
will be resolved with the variable value.
getValueInternal
protected org.openrdf.model.Resource getValueInternal(String value)
- Specified by:
getValueInternal
in class Term<org.openrdf.model.Resource>
toString
public String toString()
- Overrides:
toString
in class Term<org.openrdf.model.Resource>
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.