de.fau.cs.www8.jadeowlcodec
Class OutgoingQueryRefMessage
java.lang.Object
de.fau.cs.www8.jadeowlcodec.OutgoingMessage
de.fau.cs.www8.jadeowlcodec.OutgoingQueryRefMessage
public class OutgoingQueryRefMessage
- extends OutgoingMessage
|
Method Summary |
boolean |
addNamespace(java.lang.String key,
Uri.Other uri)
add all custom namespaces used in this message. |
Uri.Concept |
addResultSet(java.lang.String asDefinition)
add a new class description to the query-ref to create an ResultSet class |
java.lang.String |
getContent()
this is only public to allow for better error checking |
int |
getPerformative()
|
protected void |
wrapInEnvelope(jade.lang.acl.ACLMessage msg)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutgoingQueryRefMessage
public OutgoingQueryRefMessage(KnowledgeBase agentKB)
wrapInEnvelope
protected void wrapInEnvelope(jade.lang.acl.ACLMessage msg)
- Specified by:
wrapInEnvelope in class OutgoingMessage
getPerformative
public int getPerformative()
- Overrides:
getPerformative in class OutgoingMessage
addNamespace
public boolean addNamespace(java.lang.String key,
Uri.Other uri)
- add all custom namespaces used in this message.
default namespaces for xsd, owl, rdf and rdfs are already taken care for
- Parameters:
key - uri -
- Returns:
- false if the key is aready taken (no checking for leading "xml")
addResultSet
public Uri.Concept addResultSet(java.lang.String asDefinition)
- add a new class description to the query-ref to create an ResultSet class
- Parameters:
asDefinition - the class description, more specifically everything between
and
- Returns:
- URI the URI of the created ResultSet class
getContent
public java.lang.String getContent()
- this is only public to allow for better error checking
- Returns:
- a String that is content of this
OutgoingQueryRefMessage as a valid OWL file.
Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg