org.apache.any23.extractor.xpath
Class TemplatePredicate

java.lang.Object
  extended by org.apache.any23.extractor.xpath.Term<org.openrdf.model.URI>
      extended by org.apache.any23.extractor.xpath.TemplatePredicate

public class TemplatePredicate
extends Term<org.openrdf.model.URI>

Represents a Quad predicate template.

Author:
Michele Mostarda (mostarda@fbk.eu)

Constructor Summary
TemplatePredicate(String value, boolean isVar)
          Constructor.
 
Method Summary
protected  org.openrdf.model.URI getValueInternal(String value)
           
 String toString()
           
 
Methods inherited from class org.apache.any23.extractor.xpath.Term
getInternalValue, getValue, isVar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplatePredicate

public TemplatePredicate(String value,
                         boolean isVar)
Constructor.

Parameters:
value - internal value.
isVar - if true it the given value will be resolved with the variable value.
Method Detail

getValueInternal

protected org.openrdf.model.URI getValueInternal(String value)
Specified by:
getValueInternal in class Term<org.openrdf.model.URI>

toString

public String toString()
Overrides:
toString in class Term<org.openrdf.model.URI>


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.