Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.omg.IOP
Class Encoding

    java.lang.Object
      org.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:

- `ENCODING_CDR_ENCAPS`, version 1.0;
- `ENCODING_CDR_ENCAPS`, version 1.1;
- `ENCODING_CDR_ENCAPS`, version 1.2;
- `ENCODING_CDR_ENCAPS` for all future versions of GIOP as they arise.

Vendors are free to support additional encodings.

See Also:
  `ENCODING_CDR_ENCAPS`

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()`
`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

### format

    public short format

  The encoding format.

### major_version

    public byte major_version

  The major version of this Encoding format.

### minor_version

    public byte minor_version

  The minor version of this Encoding format.

Constructor Detail

### Encoding

    public Encoding()

### Encoding

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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.