JavaTM 2 Platform
Std. Ed. v1.4.2

Class Encoding

  extended byorg.omg.IOP.Encoding
All Implemented Interfaces:
IDLEntity, Serializable

public final class Encoding
extends Object
implements IDLEntity

Defines the encoding format of a Codec. This class details the encoding format, such as CDR Encapsulation encoding, and the major and minor versions of that format.

The encodings currently supported are:

Vendors are free to support additional encodings.

See Also:

Field Summary
 short format
          The encoding format.
 byte major_version
          The major version of this Encoding format.
 byte minor_version
          The minor version of this Encoding format.
Constructor Summary
Encoding(short _format, byte _major_version, byte _minor_version)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public short format
The encoding format.


public byte major_version
The major version of this Encoding format.


public byte minor_version
The minor version of this Encoding format.

Constructor Detail


public Encoding()


public Encoding(short _format,
                byte _major_version,
                byte _minor_version)

JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.