|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateXPathExtractionRule
Defines an XPathExtractionRule
able
to expand a QuadTemplate
set based
on a given template.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.apache.any23.extractor.xpath.XPathExtractionRule |
---|
acceptURI, process |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |