issrg.editor2.ontology.importer
Class TextImporter

java.lang.Object
  extended by issrg.editor2.ontology.importer.PolicyOntologyImporter
      extended by issrg.editor2.ontology.importer.TextImporter

public class TextImporter
extends PolicyOntologyImporter


Field Summary
protected static java.lang.String GAPPX_FILE
           
protected static java.lang.String GATE_CONFIG
           
protected static java.lang.String GATE_HOME
           
protected static java.lang.String PLUGINS_DIR
           
protected static java.lang.String TEMPLATE_ONTOLOGY
           
 
Fields inherited from class issrg.editor2.ontology.importer.PolicyOntologyImporter
ontology
 
Constructor Summary
TextImporter()
           
TextImporter(java.lang.String text)
           
 
Method Summary
protected  void convert()
           
 PolicyOntology getOntology()
           
 java.lang.String getText()
           
static void init()
           
protected  void resetOntology()
           
 void setText(java.lang.String text)
           
 
Methods inherited from class issrg.editor2.ontology.importer.PolicyOntologyImporter
fromOWLFile, fromTextFile, fromTextString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GATE_HOME

protected static java.lang.String GATE_HOME

GATE_CONFIG

protected static java.lang.String GATE_CONFIG

PLUGINS_DIR

protected static java.lang.String PLUGINS_DIR

GAPPX_FILE

protected static java.lang.String GAPPX_FILE

TEMPLATE_ONTOLOGY

protected static java.lang.String TEMPLATE_ONTOLOGY
Constructor Detail

TextImporter

public TextImporter()

TextImporter

public TextImporter(java.lang.String text)
Parameters:
text -
Method Detail

getOntology

public PolicyOntology getOntology()
                           throws PolicyImportException
Overrides:
getOntology in class PolicyOntologyImporter
Throws:
PolicyImportException
See Also:
PolicyOntologyImporter.getOntology()

getText

public java.lang.String getText()
Returns:
the text

setText

public void setText(java.lang.String text)
Parameters:
text - the text to set

init

public static void init()
                 throws PolicyImportException
Throws:
PolicyImportException

resetOntology

protected void resetOntology()
                      throws PolicyImportException
Throws:
PolicyImportException

convert

protected void convert()
                throws PolicyImportException
Throws:
PolicyImportException