vub.starlab.RDFSParser
Class RDFSLexonExtractor

java.lang.Object
  extended byvub.starlab.RDFSParser.RDFSLexonExtractor
All Implemented Interfaces:
LexonExtractor
Direct Known Subclasses:
ExctractorOWLProperties

public class RDFSLexonExtractor
extends java.lang.Object
implements LexonExtractor

 

Field Summary
protected  java.util.Hashtable rdfNodes
           
 
Constructor Summary
RDFSLexonExtractor()
          /** Creates a new instance of RDFSLexonExtractor
 
Method Summary
 java.util.Vector getLexons()
          returns Vector of Lexons
 java.util.Hashtable getNodes()
          returns Vector of RDF Nodes
 java.util.Vector getStatements()
          returns Vector of RDF statements
 void setRDFDocument(java.io.File rdfFilePath)
          sets the current rdf document to be parsed in order to retrieve lexons
 void setRDFDocument(java.lang.String rdfDocument)
          sets the current rdf document to be parsed in order to retrieve lexons
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rdfNodes

protected java.util.Hashtable rdfNodes
Constructor Detail

RDFSLexonExtractor

public RDFSLexonExtractor()
/** Creates a new instance of RDFSLexonExtractor

Method Detail

setRDFDocument

public void setRDFDocument(java.lang.String rdfDocument)
                    throws java.io.IOException,
                           ParseException,
                           StatementHandlerException
sets the current rdf document to be parsed in order to retrieve lexons

Specified by:
setRDFDocument in interface LexonExtractor
Parameters:
rdfDocument - - String - RDF document represented as Text (String)
Throws:
java.io.IOException
ParseException
StatementHandlerException

setRDFDocument

public void setRDFDocument(java.io.File rdfFilePath)
                    throws java.io.IOException,
                           ParseException,
                           StatementHandlerException
sets the current rdf document to be parsed in order to retrieve lexons

Specified by:
setRDFDocument in interface LexonExtractor
Parameters:
rdfFilePath - - File - RDF document
Throws:
java.io.IOException
ParseException
StatementHandlerException

getStatements

public java.util.Vector getStatements()
returns Vector of RDF statements

Returns:
Vector of instances of RDFStatement class

getNodes

public java.util.Hashtable getNodes()
returns Vector of RDF Nodes

Returns:
Vector of instances of RDFNode class

getLexons

public java.util.Vector getLexons()
                           throws RDFDocumentIsNotSpecifiedException
returns Vector of Lexons

Specified by:
getLexons in interface LexonExtractor
Returns:
Vector of instances of ALexon class
Throws:
RDFDocumentIsNotSpecifiedException