|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.basicigg.xpath.XPathProcessor
public class XPathProcessor
Implementation of Processor
providing logic for IG retrieval from XPath 1.0 queries.
Constructor Summary | |
---|---|
XPathProcessor()
|
Method Summary | |
---|---|
String |
getExtension()
Which extension can this processor process. |
FolderType |
getFolder()
Which folder does this processor operate on. |
Class<?> |
getResultType()
Get Class of the type this processor returns by process method within List . |
List<Element> |
process(InputStream s)
Parses the file containing a list of XPath queries and returns the IG rules contained within. |
boolean |
processUndefined()
Whether this processor can process also different extensions than that specified in Processor.getExtension() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathProcessor()
Method Detail |
---|
public String getExtension()
Processor
getExtension
in interface Processor<Element>
public boolean processUndefined()
Processor
Processor.getExtension()
.
processUndefined
in interface Processor<Element>
Processor.getExtension()
reports. False otherwise.public FolderType getFolder()
Processor
getFolder
in interface Processor<Element>
public List<Element> process(InputStream s)
process
in interface Processor<Element>
s
- File containing a list of XPath queries. One query per line, lines
beginning with "#" are ignored.
public Class<?> getResultType()
Processor
Class
of the type this processor returns by process method within List
.
getResultType
in interface Processor<Element>
Class
of the type this processor returns by process method within List
.
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |