edu.stanford.smi.protegex.owl.compactparser
Class OWLCompactParser

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.compactparser.OWLCompactParser
All Implemented Interfaces:
OWLCompactParserConstants

Deprecated. Moved to model.classparser.compact package - please update quickly as this class will be deleted shortly

public class OWLCompactParser
extends Object
implements OWLCompactParserConstants


Nested Class Summary
(package private) static class OWLCompactParser.JJCalls
          Deprecated.  
private static class OWLCompactParser.LookaheadSuccess
          Deprecated.  
 
Field Summary
private  boolean create
          Deprecated.  
static String errorMessage
          Deprecated.  
private  OWLCompactParser.JJCalls[] jj_2_rtns
          Deprecated.  
private  int jj_endpos
          Deprecated.  
private  Vector jj_expentries
          Deprecated.  
private  int[] jj_expentry
          Deprecated.  
private  int jj_gc
          Deprecated.  
private  int jj_gen
          Deprecated.  
(package private)  JavaCharStream jj_input_stream
          Deprecated.  
private  int jj_kind
          Deprecated.  
private  int jj_la
          Deprecated.  
private  int[] jj_la1
          Deprecated.  
private static int[] jj_la1_0
          Deprecated.  
private static int[] jj_la1_1
          Deprecated.  
private  Token jj_lastpos
          Deprecated.  
private  int[] jj_lasttokens
          Deprecated.  
private  OWLCompactParser.LookaheadSuccess jj_ls
          Deprecated.  
 Token jj_nt
          Deprecated.  
private  int jj_ntk
          Deprecated.  
private  boolean jj_rescan
          Deprecated.  
private  Token jj_scanpos
          Deprecated.  
private  boolean jj_semLA
          Deprecated.  
 boolean lookingAhead
          Deprecated.  
static boolean nextCouldBeCls
          Deprecated.  
static boolean nextCouldBeInstance
          Deprecated.  
static boolean nextCouldBeSlot
          Deprecated.  
private  OWLModel owlModel
          Deprecated.  
static RDFProperty recentHasValueProperty
          Deprecated.  
 Token token
          Deprecated.  
 OWLCompactParserTokenManager token_source
          Deprecated.  
 
Fields inherited from interface edu.stanford.smi.protegex.owl.compactparser.OWLCompactParserConstants
DEFAULT, DIGIT, EOF, EXPONENT, FLOATING_POINT_LITERAL, FORMAL_COMMENT, IDENTIFIER, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INTEGER_LITERAL, LETTER, MULTI_LINE_COMMENT, ONE_OF, SINGLE_LINE_COMMENT, STRING_LITERAL, tokenImage, XSD
 
Constructor Summary
OWLCompactParser(InputStream stream)
          Deprecated.  
OWLCompactParser(OWLCompactParserTokenManager tm)
          Deprecated.  
OWLCompactParser(Reader stream)
          Deprecated.  
 
Method Summary
 int CardinalityValue()
          Deprecated.  
static void checkClass(OWLModel owlModel, String text)
          Deprecated.  
private  void checkFeatureSupported(com.hp.hpl.jena.ontology.OntClass ontClass)
          Deprecated.  
static void checkHasRestrictionValue(OWLModel owlModel, String text)
          Deprecated.  
static void checkValueType(OWLModel owlModel, String text)
          Deprecated.  
 Object DataType()
          Deprecated.  
 void disable_tracing()
          Deprecated.  
 void enable_tracing()
          Deprecated.  
 ParseException generateParseException()
          Deprecated.  
 Token getNextToken()
          Deprecated.  
private  RDFProperty getRDFProperty(String name)
          Deprecated.  
 Token getToken(int index)
          Deprecated.  
 RDFSClass IDClass()
          Deprecated.  
 String Identifier()
          Deprecated.  
private  boolean jj_2_1(int xla)
          Deprecated.  
private  boolean jj_2_2(int xla)
          Deprecated.  
private  boolean jj_3_1()
          Deprecated.  
private  boolean jj_3_2()
          Deprecated.  
private  boolean jj_3R_10()
          Deprecated.  
private  boolean jj_3R_11()
          Deprecated.  
private  boolean jj_3R_12()
          Deprecated.  
private  boolean jj_3R_13()
          Deprecated.  
private  boolean jj_3R_14()
          Deprecated.  
private  boolean jj_3R_15()
          Deprecated.  
private  boolean jj_3R_5()
          Deprecated.  
private  boolean jj_3R_6()
          Deprecated.  
private  boolean jj_3R_7()
          Deprecated.  
private  boolean jj_3R_8()
          Deprecated.  
private  boolean jj_3R_9()
          Deprecated.  
private  void jj_add_error_token(int kind, int pos)
          Deprecated.  
private  Token jj_consume_token(int kind)
          Deprecated.  
private static void jj_la1_0()
          Deprecated.  
private static void jj_la1_1()
          Deprecated.  
private  int jj_ntk()
          Deprecated.  
private  void jj_rescan_token()
          Deprecated.  
private  void jj_save(int index, int xla)
          Deprecated.  
private  boolean jj_scan_token(int kind)
          Deprecated.  
 RDFSLiteral[] OneOfValues()
          Deprecated.  
 OWLAllValuesFrom OWLAllValuesFrom(RDFProperty property)
          Deprecated.  
 OWLCardinality OWLCardinality(RDFProperty slot)
          Deprecated.  
 OWLCardinalityBase OWLCardinalityBase(RDFProperty property)
          Deprecated.  
 RDFSClass OWLComplementClass()
          Deprecated.  
 RDFSClass OWLEnumeratedClass()
          Deprecated.  
 OWLHasValue OWLHasValue(RDFProperty slot)
          Deprecated.  
 Object OWLHasValueValue()
          Deprecated.  
 Object OWLHasValueValueAndEOF()
          Deprecated.  
 Object OWLHasValueValueBooleanOrInstance()
          Deprecated.  
 Float OWLHasValueValueFloat()
          Deprecated.  
 Integer OWLHasValueValueInteger()
          Deprecated.  
 String OWLHasValueValueString()
          Deprecated.  
 RDFSClass OWLIntersectionClass()
          Deprecated.  
 OWLMaxCardinality OWLMaxCardinality(RDFProperty slot)
          Deprecated.  
 OWLMinCardinality OWLMinCardinality(RDFProperty slot)
          Deprecated.  
 RDFSClass OWLRestrictionOrNamedClass()
          Deprecated.  
 OWLSomeValuesFrom OWLSomeValuesFrom(RDFProperty property)
          Deprecated.  
 RDFSClass OWLUnionClass()
          Deprecated.  
static RDFSClass parseCls(OWLModel owlModel, String text)
          Deprecated.  
 RDFSClass parseFile()
          Deprecated.  
static Object parseHasRestrictionValue(OWLModel owlModel, String text)
          Deprecated.  
static Object parseValueType(OWLModel owlModel, String text)
          Deprecated.  
 void ReInit(InputStream stream)
          Deprecated.  
 void ReInit(OWLCompactParserTokenManager tm)
          Deprecated.  
 void ReInit(Reader stream)
          Deprecated.  
private static void reset()
          Deprecated.  
 OWLRestriction Restriction(RDFProperty property)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextCouldBeCls

public static boolean nextCouldBeCls
Deprecated. 

nextCouldBeInstance

public static boolean nextCouldBeInstance
Deprecated. 

nextCouldBeSlot

public static boolean nextCouldBeSlot
Deprecated. 

recentHasValueProperty

public static RDFProperty recentHasValueProperty
Deprecated. 

errorMessage

public static String errorMessage
Deprecated. 

owlModel

private OWLModel owlModel
Deprecated. 

create

private boolean create
Deprecated. 

token_source

public OWLCompactParserTokenManager token_source
Deprecated. 

jj_input_stream

JavaCharStream jj_input_stream
Deprecated. 

token

public Token token
Deprecated. 

jj_nt

public Token jj_nt
Deprecated. 

jj_ntk

private int jj_ntk
Deprecated. 

jj_scanpos

private Token jj_scanpos
Deprecated. 

jj_lastpos

private Token jj_lastpos
Deprecated. 

jj_la

private int jj_la
Deprecated. 

lookingAhead

public boolean lookingAhead
Deprecated. 

jj_semLA

private boolean jj_semLA
Deprecated. 

jj_gen

private int jj_gen
Deprecated. 

jj_la1

private final int[] jj_la1
Deprecated. 

jj_la1_0

private static int[] jj_la1_0
Deprecated. 

jj_la1_1

private static int[] jj_la1_1
Deprecated. 

jj_2_rtns

private final OWLCompactParser.JJCalls[] jj_2_rtns
Deprecated. 

jj_rescan

private boolean jj_rescan
Deprecated. 

jj_gc

private int jj_gc
Deprecated. 

jj_ls

private final OWLCompactParser.LookaheadSuccess jj_ls
Deprecated. 

jj_expentries

private Vector jj_expentries
Deprecated. 

jj_expentry

private int[] jj_expentry
Deprecated. 

jj_kind

private int jj_kind
Deprecated. 

jj_lasttokens

private int[] jj_lasttokens
Deprecated. 

jj_endpos

private int jj_endpos
Deprecated. 
Constructor Detail

OWLCompactParser

public OWLCompactParser(InputStream stream)
Deprecated. 

OWLCompactParser

public OWLCompactParser(Reader stream)
Deprecated. 

OWLCompactParser

public OWLCompactParser(OWLCompactParserTokenManager tm)
Deprecated. 
Method Detail

checkClass

public static void checkClass(OWLModel owlModel,
                              String text)
                       throws ParseException
Deprecated. 
Throws:
ParseException

checkFeatureSupported

private void checkFeatureSupported(com.hp.hpl.jena.ontology.OntClass ontClass)
                            throws ParseException
Deprecated. 
Throws:
ParseException

checkHasRestrictionValue

public static void checkHasRestrictionValue(OWLModel owlModel,
                                            String text)
                                     throws ParseException
Deprecated. 
Throws:
ParseException

checkValueType

public static void checkValueType(OWLModel owlModel,
                                  String text)
                           throws ParseException
Deprecated. 
Throws:
ParseException

getRDFProperty

private RDFProperty getRDFProperty(String name)
Deprecated. 

parseCls

public static RDFSClass parseCls(OWLModel owlModel,
                                 String text)
                          throws ParseException
Deprecated. 
Throws:
ParseException

parseHasRestrictionValue

public static Object parseHasRestrictionValue(OWLModel owlModel,
                                              String text)
                                       throws ParseException
Deprecated. 
Throws:
ParseException

parseValueType

public static Object parseValueType(OWLModel owlModel,
                                    String text)
                             throws ParseException
Deprecated. 
Throws:
ParseException

reset

private static void reset()
Deprecated. 

parseFile

public final RDFSClass parseFile()
                          throws ParseException
Deprecated. 
Throws:
ParseException

OWLUnionClass

public final RDFSClass OWLUnionClass()
                              throws ParseException
Deprecated. 
Throws:
ParseException

OWLIntersectionClass

public final RDFSClass OWLIntersectionClass()
                                     throws ParseException
Deprecated. 
Throws:
ParseException

OWLComplementClass

public final RDFSClass OWLComplementClass()
                                   throws ParseException
Deprecated. 
Throws:
ParseException

OWLRestrictionOrNamedClass

public final RDFSClass OWLRestrictionOrNamedClass()
                                           throws ParseException
Deprecated. 
Throws:
ParseException

IDClass

public final RDFSClass IDClass()
                        throws ParseException
Deprecated. 
Throws:
ParseException

Restriction

public final OWLRestriction Restriction(RDFProperty property)
                                 throws ParseException
Deprecated. 
Throws:
ParseException

OWLCardinalityBase

public final OWLCardinalityBase OWLCardinalityBase(RDFProperty property)
                                            throws ParseException
Deprecated. 
Throws:
ParseException

OWLMaxCardinality

public final OWLMaxCardinality OWLMaxCardinality(RDFProperty slot)
                                          throws ParseException
Deprecated. 
Throws:
ParseException

OWLMinCardinality

public final OWLMinCardinality OWLMinCardinality(RDFProperty slot)
                                          throws ParseException
Deprecated. 
Throws:
ParseException

OWLCardinality

public final OWLCardinality OWLCardinality(RDFProperty slot)
                                    throws ParseException
Deprecated. 
Throws:
ParseException

OWLHasValue

public final OWLHasValue OWLHasValue(RDFProperty slot)
                              throws ParseException
Deprecated. 
Throws:
ParseException

OWLHasValueValueAndEOF

public final Object OWLHasValueValueAndEOF()
                                    throws ParseException
Deprecated. 
Throws:
ParseException

OWLHasValueValue

public final Object OWLHasValueValue()
                              throws ParseException
Deprecated. 
Throws:
ParseException

OWLHasValueValueString

public final String OWLHasValueValueString()
                                    throws ParseException
Deprecated. 
Throws:
ParseException

OWLHasValueValueFloat

public final Float OWLHasValueValueFloat()
                                  throws ParseException
Deprecated. 
Throws:
ParseException

OWLHasValueValueInteger

public final Integer OWLHasValueValueInteger()
                                      throws ParseException
Deprecated. 
Throws:
ParseException

OWLHasValueValueBooleanOrInstance

public final Object OWLHasValueValueBooleanOrInstance()
                                               throws ParseException
Deprecated. 
Throws:
ParseException

CardinalityValue

public final int CardinalityValue()
                           throws ParseException
Deprecated. 
Throws:
ParseException

Identifier

public final String Identifier()
                        throws ParseException
Deprecated. 
Throws:
ParseException

OWLEnumeratedClass

public final RDFSClass OWLEnumeratedClass()
                                   throws ParseException
Deprecated. 
Throws:
ParseException

OWLAllValuesFrom

public final OWLAllValuesFrom OWLAllValuesFrom(RDFProperty property)
                                        throws ParseException
Deprecated. 
Throws:
ParseException

OWLSomeValuesFrom

public final OWLSomeValuesFrom OWLSomeValuesFrom(RDFProperty property)
                                          throws ParseException
Deprecated. 
Throws:
ParseException

DataType

public final Object DataType()
                      throws ParseException
Deprecated. 
Throws:
ParseException

OneOfValues

public final RDFSLiteral[] OneOfValues()
                                throws ParseException
Deprecated. 
Throws:
ParseException

jj_2_1

private final boolean jj_2_1(int xla)
Deprecated. 

jj_2_2

private final boolean jj_2_2(int xla)
Deprecated. 

jj_3R_15

private final boolean jj_3R_15()
Deprecated. 

jj_3R_8

private final boolean jj_3R_8()
Deprecated. 

jj_3R_12

private final boolean jj_3R_12()
Deprecated. 

jj_3R_11

private final boolean jj_3R_11()
Deprecated. 

jj_3R_10

private final boolean jj_3R_10()
Deprecated. 

jj_3R_13

private final boolean jj_3R_13()
Deprecated. 

jj_3R_7

private final boolean jj_3R_7()
Deprecated. 

jj_3R_9

private final boolean jj_3R_9()
Deprecated. 

jj_3R_5

private final boolean jj_3R_5()
Deprecated. 

jj_3R_6

private final boolean jj_3R_6()
Deprecated. 

jj_3_1

private final boolean jj_3_1()
Deprecated. 

jj_3_2

private final boolean jj_3_2()
Deprecated. 

jj_3R_14

private final boolean jj_3R_14()
Deprecated. 

jj_la1_0

private static void jj_la1_0()
Deprecated. 

jj_la1_1

private static void jj_la1_1()
Deprecated. 

ReInit

public void ReInit(InputStream stream)
Deprecated. 

ReInit

public void ReInit(Reader stream)
Deprecated. 

ReInit

public void ReInit(OWLCompactParserTokenManager tm)
Deprecated. 

jj_consume_token

private final Token jj_consume_token(int kind)
                              throws ParseException
Deprecated. 
Throws:
ParseException

jj_scan_token

private final boolean jj_scan_token(int kind)
Deprecated. 

getNextToken

public final Token getNextToken()
Deprecated. 

getToken

public final Token getToken(int index)
Deprecated. 

jj_ntk

private final int jj_ntk()
Deprecated. 

jj_add_error_token

private void jj_add_error_token(int kind,
                                int pos)
Deprecated. 

generateParseException

public ParseException generateParseException()
Deprecated. 

enable_tracing

public final void enable_tracing()
Deprecated. 

disable_tracing

public final void disable_tracing()
Deprecated. 

jj_rescan_token

private final void jj_rescan_token()
Deprecated. 

jj_save

private final void jj_save(int index,
                           int xla)
Deprecated.