jade.content.lang
Class Codec

java.lang.Object
  |
  +--jade.content.lang.Codec
Direct Known Subclasses:
ByteArrayCodec, JCodec, StringCodec

public abstract class Codec
extends java.lang.Object
implements Serializable

Generic base class for al content language codecs

Author:
Federico Bergenti - Universita` di Parma
See Also:
Serialized Form

Inner Class Summary
static interface Codec.CodecException
          Class CodecException.
 
Field Summary
static java.lang.String UNNAMEDPREFIX
          This string is the prefix of all the unnamed slots of a Frame
 
Constructor Summary
protected Codec(java.lang.String name)
          Construct a Codec object with the given name
 
Method Summary
 Ontology getInnerOntology()
           
 java.lang.String getName()
          Gets the name of this codec.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNNAMEDPREFIX

public static java.lang.String UNNAMEDPREFIX
This string is the prefix of all the unnamed slots of a Frame
Constructor Detail

Codec

protected Codec(java.lang.String name)
Construct a Codec object with the given name
Method Detail

getName

public java.lang.String getName()
Gets the name of this codec.
Returns:
the name of this codec.

getInnerOntology

public Ontology getInnerOntology()
Returns:
the ontology containing the schemas of the operator defined in this language