|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream org.omg.CORBA.portable.InputStream org.omg.CORBA_2_3.portable.InputStream
public abstract class InputStream
InputStream provides for the reading of all of the mapped IDL types from the stream. It extends org.omg.CORBA.portable.InputStream. This class defines new methods that were added for CORBA 2.3.
InputStream
Constructor Summary | |
---|---|
InputStream()
|
Method Summary | |
---|---|
Object |
read_abstract_interface()
Unmarshal the value object or a suitable stub object. |
Object |
read_abstract_interface(Class clz)
Unmarshal the class object or the stub class corresponding to the passed type. |
Serializable |
read_value()
Unmarshalls a value type from the input stream. |
Serializable |
read_value(BoxedValueHelper factory)
Unmarshalls a value type from the input stream. |
Serializable |
read_value(Class clz)
Unmarshalls a value type from the input stream. |
Serializable |
read_value(Serializable value)
Unmarshalls a value type from the input stream. |
Serializable |
read_value(String rep_id)
Unmarshalls a value type from the input stream. |
Methods inherited from class org.omg.CORBA.portable.InputStream |
---|
orb, read_any, read_boolean_array, read_boolean, read_char_array, read_char, read_Context, read_double_array, read_double, read_fixed, read_float_array, read_float, read_long_array, read_long, read_longlong_array, read_longlong, read_Object, read_Object, read_octet_array, read_octet, read_Principal, read_short_array, read_short, read_string, read_TypeCode, read_ulong_array, read_ulong, read_ulonglong_array, read_ulonglong, read_ushort_array, read_ushort, read_wchar_array, read_wchar, read_wstring, read |
Methods inherited from class java.io.InputStream |
---|
available, close, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputStream()
Method Detail |
---|
public Serializable read_value()
public Serializable read_value(Class clz)
clz
- is the declared type of the value to be unmarshalled
public Serializable read_value(BoxedValueHelper factory)
factory
- is the instance fo the helper to be used for
unmarshalling the value type
public Serializable read_value(String rep_id)
rep_id
- identifies the type of the value to be unmarshalled
public Serializable read_value(Serializable value)
value
- is an uninitialized value which is added to the orb's
indirection table before calling Streamable._read() or
CustomMarshal.unmarshal() to unmarshal the value.
public Object read_abstract_interface()
public Object read_abstract_interface(Class clz)
clz
- is the Class object for the stub class which corresponds to
the type that is statically expected.
|
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.