Package | Description |
---|---|
jade.content | |
jade.content.abs | |
jade.content.lang | |
jade.content.lang.leap | |
jade.content.lang.sl |
Modifier and Type | Method and Description |
---|---|
AbsContentElement |
ContentManager.extractAbsContent(ACLMessage msg)
Translates the
:content slot of an
ACLMessage msg into an AbsContentElement
using the content language and ontology indicated in the
:language and :ontology fields of msg . |
Modifier and Type | Method and Description |
---|---|
void |
ContentManager.fillContent(ACLMessage msg,
AbsContentElement content)
Fills the
:content slot of an
ACLMessage msg using the content language
and ontology indicated in the :language and
:ontology fields of msg . |
Modifier and Type | Class and Description |
---|---|
class |
AbsAgentAction
An abstract descriptor that can hold an agent action
expression.
|
class |
AbsContentElementList
An abstract descriptor that can hold a list of
generic content element expressions.
|
class |
AbsIRE
An Abstract descriptor that can hold an Identifying
Referential Expression (IRE).
|
class |
AbsPredicate
An abstract descriptor that can hold a predicate expression.
|
Modifier and Type | Method and Description |
---|---|
AbsContentElement |
AbsContentElementList.get(int i)
Retrieves the
i -th element in this content element list. |
AbsContentElement |
AbsContentElementList.remove(int index)
Removes the element at the given position from this content
element list.
|
AbsContentElement[] |
AbsContentElementList.toArray()
Retrieve all elements in this content element list in the form of
an array.
|
Modifier and Type | Method and Description |
---|---|
void |
AbsContentElementList.add(AbsContentElement element)
Add a new element (that must be a content element) to this
content element list.
|
boolean |
AbsContentElementList.contains(AbsContentElement element)
Test if a given content element is contained in this
content element list.
|
int |
AbsContentElementList.indexOf(AbsContentElement element)
Returns the position of an element within this content element list.
|
Modifier and Type | Method and Description |
---|---|
abstract AbsContentElement |
ByteArrayCodec.decode(byte[] content)
Decodes the content to an abstract description.
|
abstract AbsContentElement |
ByteArrayCodec.decode(Ontology ontology,
byte[] content)
Decodes the content to an abstract description.
|
abstract AbsContentElement |
StringCodec.decode(Ontology ontology,
java.lang.String content)
Decodes the content to an abstract description using a
given ontology.
|
abstract AbsContentElement |
StringCodec.decode(java.lang.String content)
Decodes the content to an abstract description.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
StringCodec.encode(AbsContentElement content)
Encodes a content into a string.
|
abstract byte[] |
ByteArrayCodec.encode(AbsContentElement content)
Encodes a content into a byte array.
|
abstract java.lang.String |
StringCodec.encode(Ontology ontology,
AbsContentElement content)
Encodes a content into a string using a given ontology.
|
abstract byte[] |
ByteArrayCodec.encode(Ontology ontology,
AbsContentElement content)
Encodes a content into a byte array.
|
Modifier and Type | Method and Description |
---|---|
AbsContentElement |
LEAPCodec.decode(byte[] content)
Decodes the content to an abstract descriptor.
|
AbsContentElement |
LEAPCodec.decode(Ontology ontology,
byte[] content)
Decodes the content to an abstract description.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
LEAPCodec.encode(AbsContentElement content)
Encodes an abstract descriptor holding a content element
into a byte array.
|
byte[] |
LEAPCodec.encode(Ontology ontology,
AbsContentElement content)
Encodes a content into a byte array.
|
Modifier and Type | Method and Description |
---|---|
AbsContentElement |
SLCodec.decode(Ontology ontology,
java.lang.String content)
Decodes the content to an abstract description.
|
AbsContentElement |
SimpleSLCodec.decode(Ontology ontology,
java.lang.String content)
Decodes a content expression to an abstract description using a
given ontology.
|
AbsContentElement |
SLCodec.decode(java.lang.String content)
Decodes the content to an abstract description.
|
AbsContentElement |
SimpleSLCodec.decode(java.lang.String content) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
SLCodec.encode(AbsContentElement content)
Encodes a content into a String.
|
java.lang.String |
SimpleSLCodec.encode(AbsContentElement content) |
java.lang.String |
SLCodec.encode(Ontology ontology,
AbsContentElement content)
Encodes a content into a String.
|
java.lang.String |
SimpleSLCodec.encode(Ontology ontology,
AbsContentElement content)
Encodes a content into a string using a given ontology.
|