|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCOjDA
public class COjDA
This class implements the Complete OO jDREW API (COjDA)
| Field Summary | |
|---|---|
(package private) jdrew.oo.td.BackwardReasoner |
br
|
(package private) jdrew.oo.util.DefiniteClause |
dc
|
(package private) boolean |
noKB
|
(package private) boolean |
noTaxonomy
|
static int |
POSL
|
(package private) jdrew.oo.util.POSLParser |
pp
|
static int |
RDFS
|
(package private) jdrew.oo.util.RuleMLParser |
rp
|
(package private) jdrew.oo.util.RDFSParser |
rr
|
static int |
RULEML91
|
(package private) jdrew.oo.util.TaxonomyQueryAPI |
taxonomyAPI
|
(package private) int |
varSize
|
| Constructor Summary | |
|---|---|
COjDA(int profile_KB,
java.io.File KB)
This COjDA constructor requires only a Knowledge base to be constructed. |
|
COjDA(int profile_KB,
int profile_Taxonomy,
java.io.File KB,
java.io.File taxonomy)
This COjDA constructor requires a Knowledge base and Taxonomy to be constructed. |
|
COjDA(int profile_KB,
int profile_Taxonomy,
java.io.File KB,
java.lang.String taxonomy)
This COjDA constructor requires a Knowledge base and Taxonomy to be constructed. |
|
COjDA(int profile_KB,
int profile_Taxonomy,
java.lang.String KB,
java.io.File taxonomy)
This COjDA constructor requires a Knowledge base and Taxonomy to be constructed. |
|
COjDA(int profile_KB,
int profile_Taxonomy,
java.lang.String KB,
java.lang.String taxonomy)
This COjDA constructor requires a Knowledge base and Taxonomy to be constructed. |
|
COjDA(int profile_KB,
java.lang.String KB)
This COjDA constructor requires only a Knowledge base to be constructed. |
|
| Method Summary | |
|---|---|
java.lang.String |
issueKBQuery_POSL(java.io.File query)
This method will issue a Query on the KB using a POSL Query |
java.lang.String |
issueKBQuery_POSL(java.lang.String query)
This method will issue a Query on the KB using a POSL Query |
java.lang.String |
issueKBQuery_RuleML(java.io.File query)
This method will issue a Query on the KB using a RuleML Query |
java.lang.String |
issueKBQuery_RuleML(java.lang.String query)
This method will issue a Query on the KB using a RuleML Query |
java.lang.String |
issueTaxonomyQuery_POSL(java.io.File query)
This method will issue a POSL query on the Taxonomy. |
java.lang.String |
issueTaxonomyQuery_POSL(java.lang.String query)
This method will issue a POSL query on the Taxonomy. |
java.lang.String |
issueTaxonomyQuery_RuleML(java.io.File query)
This method will issue a RuleML query on the Taxonomy. |
java.lang.String |
issusTaxonomyQuery_RuleML(java.lang.String query)
This method will issue a RuleML query on the Taxonomy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
int varSize
jdrew.oo.td.BackwardReasoner br
jdrew.oo.util.DefiniteClause dc
jdrew.oo.util.RuleMLParser rp
jdrew.oo.util.POSLParser pp
jdrew.oo.util.RDFSParser rr
jdrew.oo.util.TaxonomyQueryAPI taxonomyAPI
boolean noTaxonomy
boolean noKB
public static final int POSL
public static final int RULEML91
public static final int RDFS
| Constructor Detail |
|---|
COjDA(int profile_KB,
java.io.File KB)
throws antlr.RecognitionException,
antlr.TokenStreamException,
java.io.IOException,
nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException
profile_KB - - The format the KB is in. 1 For POSL, 2 for RuleML91.KB - - This File contains the KB to be parsed.
antlr.RecognitionException
antlr.TokenStreamException
java.io.IOException
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
COjDA(int profile_KB,
java.lang.String KB)
throws antlr.RecognitionException,
antlr.TokenStreamException,
nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
java.io.IOException
profile_KB - - The format the KB is in. 1 For POSL, 2 for RuleML91.KB - - This String contains the KB to be parsed.
antlr.RecognitionException
antlr.TokenStreamException
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
java.io.IOException
COjDA(int profile_KB,
int profile_Taxonomy,
java.lang.String KB,
java.lang.String taxonomy)
throws antlr.RecognitionException,
antlr.TokenStreamException,
nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
java.io.IOException,
jdrew.oo.util.SubException
profile_KB - - The format the KB is in. 1 For POSL, 2 for RuleML91.profile_Taxonomy - - The format the Taxonomy is in. 1 For POSL, 3 for RDFS.KB - - This String contains the KB to be parsed.taxonomy - -This String contains the Taxonomy to be parsed.
antlr.RecognitionException
antlr.TokenStreamException
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
java.io.IOException
jdrew.oo.util.SubException
COjDA(int profile_KB,
int profile_Taxonomy,
java.lang.String KB,
java.io.File taxonomy)
throws antlr.RecognitionException,
antlr.TokenStreamException,
nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
java.io.IOException,
jdrew.oo.util.SubException
profile_KB - - The format the KB is in. 1 For POSL, 2 for RuleML91.profile_Taxonomy - - The format the Taxonomy is in. 1 For POSL, 3 for RDFS..KB - - This String contains the KB to be parsed.taxonomy - -This File contains the Taxonomy to be parsed.
antlr.RecognitionException
antlr.TokenStreamException
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
java.io.IOException
jdrew.oo.util.SubException
COjDA(int profile_KB,
int profile_Taxonomy,
java.io.File KB,
java.lang.String taxonomy)
throws antlr.RecognitionException,
antlr.TokenStreamException,
java.io.IOException,
nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
jdrew.oo.util.SubException
profile_KB - - The format the KB is in. 1 For POSL, 2 for RuleML91.profile_Taxonomy - - The format the Taxonomy is in. 1 For POSL, 3 for RDFS.KB - - This File contains the KB to be parsed.taxonomy - -This String contains the Taxonomy to be parsed.
antlr.RecognitionException
antlr.TokenStreamException
java.io.IOException
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
jdrew.oo.util.SubException
COjDA(int profile_KB,
int profile_Taxonomy,
java.io.File KB,
java.io.File taxonomy)
throws antlr.RecognitionException,
antlr.TokenStreamException,
java.io.IOException,
nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
jdrew.oo.util.SubException
profile_KB - - The format the KB is in. 1 For POSL, 2 for RuleML91.profile_Taxonomy - - The format the Taxonomy is in. 1 For POSL, 3 for RDFS..KB - - This File contains the KB to be parsed.taxonomy - - This File contains the Taxonomy to be parsed.
antlr.RecognitionException
antlr.TokenStreamException
java.io.IOException
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
jdrew.oo.util.SubException| Method Detail |
|---|
public java.lang.String issueKBQuery_POSL(java.lang.String query)
throws antlr.RecognitionException,
antlr.TokenStreamException
query - - a POSL query as a String.
antlr.RecognitionException
antlr.TokenStreamException
public java.lang.String issueKBQuery_POSL(java.io.File query)
throws antlr.RecognitionException,
antlr.TokenStreamException,
java.io.IOException
query - - a POSL query stored in a File.
antlr.RecognitionException
antlr.TokenStreamException
java.io.IOException
public java.lang.String issueKBQuery_RuleML(java.lang.String query)
throws nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
java.io.IOException
query - - a RuleML query as a String.
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
java.io.IOException
public java.lang.String issueKBQuery_RuleML(java.io.File query)
throws nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
java.io.IOException
query - - a RuleML query stored in a File.
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
java.io.IOException
public java.lang.String issueTaxonomyQuery_POSL(java.lang.String query)
throws nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
java.io.IOException,
java.lang.Exception
query - - a POSL query as a String.
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
java.io.IOException
java.lang.Exception
public java.lang.String issueTaxonomyQuery_POSL(java.io.File query)
throws nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
java.io.IOException,
java.lang.Exception
query - - a POSL query stored in a File.
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
java.io.IOException
java.lang.Exception
public java.lang.String issusTaxonomyQuery_RuleML(java.lang.String query)
throws nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
java.io.IOException,
java.lang.Exception
query - - a RuleML query as a String.
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
java.io.IOException
java.lang.Exception
public java.lang.String issueTaxonomyQuery_RuleML(java.io.File query)
throws nu.xom.ValidityException,
jdrew.oo.util.ParseException,
nu.xom.ParsingException,
java.io.IOException,
java.lang.Exception
query - - a RuleML query stored in a File.
nu.xom.ValidityException
jdrew.oo.util.ParseException
nu.xom.ParsingException
java.io.IOException
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||