public class SimpleSLCodec extends StringCodec
Codec.CodecExceptionUNNAMEDPREFIX| Constructor and Description |
|---|
SimpleSLCodec() |
| Modifier and Type | Method and Description |
|---|---|
AbsContentElement |
decode(Ontology ontology,
java.lang.String content)
Decodes a content expression to an abstract description using a
given ontology.
|
AbsContentElement |
decode(java.lang.String content)
Decodes the content to an abstract description.
|
AbsObject |
decodeObject(Ontology ontology,
java.lang.String content) |
java.lang.String |
encode(AbsContentElement content)
Encodes a content into a string.
|
java.lang.String |
encode(Ontology ontology,
AbsContentElement content)
Encodes a content into a string using a given ontology.
|
Ontology |
getInnerOntology() |
public java.lang.String encode(Ontology ontology, AbsContentElement content) throws Codec.CodecException
encode in class StringCodecontology - the ontologycontent - the content as an abstract descriptor.CodecExceptionCodec.CodecExceptionpublic AbsContentElement decode(Ontology ontology, java.lang.String content) throws Codec.CodecException
decode in class StringCodecontology - the ontology.content - the content as a string.CodecExceptionCodec.CodecExceptionpublic AbsObject decodeObject(Ontology ontology, java.lang.String content) throws Codec.CodecException
Codec.CodecExceptionpublic AbsContentElement decode(java.lang.String content) throws Codec.CodecException
StringCodecdecode in class StringCodeccontent - the content as a string.Codec.CodecExceptionpublic java.lang.String encode(AbsContentElement content) throws Codec.CodecException
StringCodecencode in class StringCodeccontent - the content as an abstract descriptor.Codec.CodecExceptionpublic Ontology getInnerOntology()
getInnerOntology in class Codec