| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CosNaming.BindingTypeHolder
public final class BindingTypeHolder
Specifies whether the given binding is for a object (that is not a naming context) or for a naming context.
| Field Summary | |
|---|---|
|  BindingType | value | 
| Constructor Summary | |
|---|---|
| BindingTypeHolder() | |
| BindingTypeHolder(BindingType initialValue) | |
| Method Summary | |
|---|---|
|  void | _read(InputStream i)Reads data from istreamand initalizes thevaluefield of the Holder with the unmarshalled data. | 
|  TypeCode | _type()Retrieves the TypeCodeobject corresponding to the value
 in thevaluefield of the Holder. | 
|  void | _write(OutputStream o)Marshals to ostreamthe value in thevaluefield of the Holder. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public BindingType value
| Constructor Detail | 
|---|
public BindingTypeHolder()
public BindingTypeHolder(BindingType initialValue)
| Method Detail | 
|---|
public void _read(InputStream i)
Streamableistream and initalizes the
 value field of the Holder with the unmarshalled data.
_read in interface Streamablei - the InputStream that represents the CDR data from the wire.public void _write(OutputStream o)
Streamableostream the value in the 
 value field of the Holder.
_write in interface Streamableo - the CDR OutputStreampublic TypeCode _type()
StreamableTypeCode object corresponding to the value
 in the value field of the Holder.
_type in interface StreamableTypeCode object for the value held in the holder| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.