|
Protege 3.4.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protege.storage.clips.Parser
public final class Parser
Field Summary | |
---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
ParserTokenManager |
token_source
Generated Token Manager. |
Fields inherited from interface edu.stanford.smi.protege.storage.clips.ParserConstants |
---|
ABSTRACT, ACCESS, ALLOWED_CLASSES, ALLOWED_FLOATS, ALLOWED_GRAMMAR, ALLOWED_INTEGERS, ALLOWED_PARENTS, ALLOWED_STRINGS, ALLOWED_SYMBOLS, ALLOWED_VALUES, ANY, ASSOCIATED_FACET, BLANK_COMMENT, BRA, BUILD, CARDINALITY, COMMENT, COMMENT_LINE, COMPOSITE, CONCRETE, CREATE_ACCESSOR, DEFAULT, DEFAULT_, DEFCLASS, EOF, EOL, EXCLUSIVE, EXTENSION, FLOAT, INCLUDE, INHERIT, INITIALIZER_ONLY, INSTANCE, INSTANCE_NAME_LITERAL, INTEGER, INVERSE_SLOT, IS_A, KET, LOCAL, LPAREN, MULTISLOT, NO_INHERIT, NON_REACTIVE, NOTE, OF, OVERRIDE_MESSAGE, PATTERN_MATCH, PRIVATE, PROPAGATION, PUBLIC, QUESTION_DEFAULT, QUESTION_NONE, RANGE, REACTIVE, READ, READ_ONLY, READ_WRITE, ROLE, RPAREN, SHARED, SINGLE_SLOT, SLOT, SOURCE, STORAGE, STRING, STRING_LITERAL, SUBSLOT_OF, SYMBOL, SYMBOL_CHAR_MIDDLE, SYMBOL_CHAR_START, SYMBOL_LITERAL, TEXT_COMMENT, tokenImage, TYPE, USER_FACET, VALUE, VERSION, VISIBILITY, WRITE |
Constructor Summary | |
---|---|
Parser(InputStream stream)
Constructor with InputStream. |
|
Parser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
Parser(ParserTokenManager tm)
Constructor with generated Token Manager. |
|
Parser(Reader stream)
Constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public ParserTokenManager token_source
public Token token
public Token jj_nt
Constructor Detail |
---|
public Parser(InputStream stream)
public Parser(InputStream stream, String encoding)
public Parser(Reader stream)
public Parser(ParserTokenManager tm)
Method Detail |
---|
public String toString()
toString
in class Object
public void loadClses(KnowledgeBase kb, boolean isIncluded, Collection errors)
public void loadInstances(KnowledgeBase kb, boolean isIncluded, Collection errors)
public static boolean equals(Object o1, Object o2)
public final void accessFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedClassesValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedConstantValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedConstantValueDescriptionExtension(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedFloatsValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedGrammarValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedIntegersValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedParentsValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedStringsValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedSymbolsValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void allowedValuesValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void cardinalityValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void cls() throws ParseException
ParseException
public final Cls clsReference() throws ParseException
ParseException
public final List clsesList() throws ParseException
ParseException
public final void clsRole(Cls cls) throws ParseException
ParseException
public final Object constant() throws ParseException
ParseException
public final List constants() throws ParseException
ParseException
public final void constraintValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void constraintValueDescriptionExtension(Cls cls, Slot slot) throws ParseException
ParseException
public final void createAccessorFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final void defaultFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final String facetName() throws ParseException
ParseException
public final void userFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final void templateSlotValueFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final void facet(Cls cls, Slot slot) throws ParseException
ParseException
public final void facetStatement(Cls cls, Slot slot) throws ParseException
ParseException
public final void includeOntologies() throws ParseException
ParseException
public final void instance() throws ParseException
ParseException
public final String instanceName() throws ParseException
ParseException
public final Instance instanceReference() throws ParseException
ParseException
public final void oldStuff() throws ParseException
ParseException
public final void overrideMessageFacet(Frame frame, Slot slot) throws ParseException
ParseException
public final void versionInfo() throws ParseException
ParseException
public final void parseKnowledgeBase() throws ParseException
ParseException
public final void parseOntology() throws ParseException
ParseException
public final void patternMatchFacet(Frame frame, Slot slot) throws ParseException
ParseException
public final void patternMatchRole(Frame frame, Slot slot) throws ParseException
ParseException
public final void propagationFacet(Frame frame, Slot slot) throws ParseException
ParseException
public final void rangeValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void slot(Cls cls) throws ParseException
ParseException
public final boolean slotCardinality() throws ParseException
ParseException
public final void slotDocumentationFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final void inverseSlotProperty(Cls cls, Slot slot) throws ParseException
ParseException
public final void superslotProperty(Cls cls, Slot slot) throws ParseException
ParseException
public final void associatedFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final String slotName() throws ParseException
ParseException
public final void slotValue(Instance instance, Collection directTypes) throws ParseException
ParseException
public final Collection slotValueFields(Instance instance, Slot slot, ValueType type) throws ParseException
ParseException
public final void slotValueFieldProperty() throws ParseException
ParseException
public final void sourceFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final void storageFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final String string() throws ParseException
ParseException
public final String symbol() throws ParseException
ParseException
public final void typeValueDescription(Cls cls, Slot slot) throws ParseException
ParseException
public final void visibilityFacet(Cls cls, Slot slot) throws ParseException
ParseException
public final String keyword() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(ParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
Protege 3.4.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |