Class TQLParser
java.lang.Object
TQLParser
public class TQLParser
- extends java.lang.Object
This class invokes the parsing of a TEST-document.
- See Also:
TQLHandler
Method Summary |
java.util.ArrayList |
getAbstracts()
Access method to get the abstracts parsed by this parser. |
org.xml.sax.helpers.DefaultHandler |
getHandler()
Access method to get the handler of this parser. |
void |
parseTQL(java.io.File file)
Creates a new parser, and starts this with the actual document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
public java.io.File file
handler
public TQLHandler handler
op
public OntologyParser op
TQLParser
public TQLParser(java.io.File file,
OntologyParser op)
parseTQL
public void parseTQL(java.io.File file)
- Creates a new parser, and starts this with the actual document.
- Parameters:
file
- the xml-file containing the test corpus
getHandler
public org.xml.sax.helpers.DefaultHandler getHandler()
- Access method to get the handler of this parser.
- Returns:
- the handler of this document
getAbstracts
public java.util.ArrayList getAbstracts()
- Access method to get the abstracts parsed by this parser.
- Returns:
- a list of abstracts parsed by this parser