|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.inference.dig.reasoner.DIGReasonerIdentity
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Jun 4, 2004
Field Summary | |
private String |
reasonerMessage
|
private String |
reasonerName
|
private String |
reasonerVersion
|
private HashSet |
supportedAskElements
|
private HashSet |
supportedLanguageElements
|
private HashSet |
supportedTellElements
|
Constructor Summary | |
DIGReasonerIdentity()
|
Method Summary | |
protected void |
clear()
Clears all of the information in this inference identity object. |
private void |
fillSet(Node node,
Set set)
|
String |
getMessage()
Gets the inference message. |
String |
getName()
Gets the name of the inference. |
Collection |
getSupportedAskElements()
Gets a Collection that holds the supported
ask elements. |
Collection |
getSupportedLanguageElements()
Gets a Collection that holds the supported
langauge elements. |
Collection |
getSupportedTellElements()
Gets a Collection that holds the supported
tell elements. |
String |
getVersion()
Gets the version of a reaonser. |
void |
parseIdentityDescrtiption(Document doc)
Parses the DIG identity response and fills this object with the inference identity information |
protected void |
processDocument(Document doc)
|
boolean |
supportsAskElement(String constructName)
Determines if the specified ask element is supported by the inference. |
boolean |
supportsLanguageElement(String constructName)
Determines if the specified language element is supported by the inference. |
boolean |
supportsTellElemement(String constructName)
Determines if the specified tell element is supported by the inference. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String reasonerName
private String reasonerMessage
private String reasonerVersion
private HashSet supportedLanguageElements
private HashSet supportedTellElements
private HashSet supportedAskElements
Constructor Detail |
public DIGReasonerIdentity()
Method Detail |
protected void clear()
public void parseIdentityDescrtiption(Document doc)
protected void processDocument(Document doc)
public String getName()
public String getVersion()
String
of the form num.num.num
e.g. 1.7.12
public String getMessage()
public Collection getSupportedLanguageElements()
Collection
that holds the supported
langauge elements.
Collection
of Strings
that describe the language elements supported by the
inference. These language elements are contained in
DIGVocabulary.Language
public Collection getSupportedTellElements()
Collection
that holds the supported
tell elements.
Collection
of Strings
that describe the tell elements supported by the
inference. These tell elements are contained in
DIGVocabulary.Tell
public Collection getSupportedAskElements()
Collection
that holds the supported
ask elements.
Collection
of Strings
that describe the ask elements supported by the
inference. These ask elements are contained in
DIGVocabulary.Ask
public boolean supportsLanguageElement(String constructName)
constructName
- The name of the language
element (see DIGVocabulary.Language
)
true
if supported, false
if not supported.public boolean supportsTellElemement(String constructName)
constructName
- The name of the tell
element (see DIGVocabulary.Tell
)
true
if supported, false
if not supported.public boolean supportsAskElement(String constructName)
constructName
- The name of the ask
element (see DIGVocabulary.Ask
)
true
if supported, false
if not supported.private void fillSet(Node node, Set set)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |