Class TQLParser

java.lang.Object
  extended by TQLParser

public class TQLParser
extends java.lang.Object

This class invokes the parsing of a TEST-document.

See Also:
TQLHandler

Field Summary
 java.io.File file
           
 TQLHandler handler
           
 OntologyParser op
           
 
Constructor Summary
TQLParser(java.io.File file, OntologyParser op)
           
 
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
 

Field Detail

file

public java.io.File file

handler

public TQLHandler handler

op

public OntologyParser op
Constructor Detail

TQLParser

public TQLParser(java.io.File file,
                 OntologyParser op)
Method Detail

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