public interface TemplateXPathExtractionRule extends XPathExtractionRule
XPathExtractionRule
able
to expand a QuadTemplate
set based
on a given template.Modifier and Type | Method and Description |
---|---|
void |
add(QuadTemplate template)
Adds a
QuadTemplate to the rule. |
void |
add(Variable variable)
Adds a variable to the template.
|
String |
getName() |
boolean |
remove(QuadTemplate template)
Removes a quad template from the rule.
|
boolean |
remove(Variable variable)
Removes a variable from the template.
|
acceptURI, process
String getName()
getName
in interface XPathExtractionRule
void add(Variable variable)
variable
- variable to be added.boolean remove(Variable variable)
variable
- variable to be removed.true if the variable
argument was found.
void add(QuadTemplate template)
QuadTemplate
to the rule.template
- template instance to be added.boolean remove(QuadTemplate template)
template
- template to be removed.true
if the template
argument was found.Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.