public class AnyImpl extends Any
Constructor and Description |
---|
AnyImpl(ORB orb)
A constructor that sets the Any to contain a null.
|
AnyImpl(ORB orb,
Any obj) |
Modifier and Type | Method and Description |
---|---|
InputStream |
create_input_stream()
returns an input stream that an Any value can be marshaled out of.
|
OutputStream |
create_output_stream()
returns an output stream that an Any value can be marshaled into.
|
TypeCode |
createTypeCodeForClass(Class<?> c,
ORB tcORB)
Utility method for insert_Value and Util.writeAny.
|
boolean |
equal(Any otherAny)
checks for equality between Anys.
|
Any |
extract_any()
See the description of the general Any operations.
|
boolean |
extract_boolean()
See the description of the general Any operations.
|
char |
extract_char()
See the description of the general Any operations.
|
double |
extract_double()
See the description of the general Any operations.
|
BigDecimal |
extract_fixed() |
float |
extract_float()
See the description of the general Any operations.
|
int |
extract_long()
See the description of the general Any operations.
|
long |
extract_longlong()
See the description of the general Any operations.
|
Object |
extract_Object()
See the description of the general Any operations.
|
byte |
extract_octet()
See the description of the general Any operations.
|
Principal |
extract_Principal()
Deprecated.
|
short |
extract_short()
See the description of the general Any operations.
|
Streamable |
extract_Streamable() |
String |
extract_string()
See the description of the general Any operations.
|
TypeCode |
extract_TypeCode()
See the description of the general Any operations.
|
int |
extract_ulong()
See the description of the general Any operations.
|
long |
extract_ulonglong()
See the description of the general Any operations.
|
short |
extract_ushort()
See the description of the general Any operations.
|
Serializable |
extract_Value()
Note that the Serializable really should be an IDLEntity of some kind.
|
char |
extract_wchar()
See the description of the general Any operations.
|
String |
extract_wstring()
See the description of the general Any operations.
|
Any |
extractAny(TypeCode memberType,
ORB orb) |
static Any |
extractAnyFromStream(TypeCode memberType,
InputStream input,
ORB orb) |
void |
insert_any(Any a)
See the description of the general Any operations.
|
void |
insert_boolean(boolean b)
See the description of the general Any operations.
|
void |
insert_char(char c)
See the description of the general Any operations.
|
void |
insert_double(double d)
See the description of the general Any operations.
|
void |
insert_fixed(BigDecimal value) |
void |
insert_fixed(BigDecimal value,
TypeCode type) |
void |
insert_float(float f)
See the description of the general Any operations.
|
void |
insert_long(int l)
See the description of the general Any operations.
|
void |
insert_longlong(long l)
See the description of the general Any operations.
|
void |
insert_Object(Object o)
See the description of the general Any operations.
|
void |
insert_Object(Object o,
TypeCode tc)
A variant of the insertion operation that takes a typecode argument as well.
|
void |
insert_octet(byte b)
See the description of the general Any operations.
|
void |
insert_Principal(Principal p)
Deprecated.
|
void |
insert_short(short s)
See the description of the general Any operations.
|
void |
insert_Streamable(Streamable s)
takes a streamable and inserts its reference into the any
|
void |
insert_string(String s)
See the description of the general Any operations.
|
void |
insert_TypeCode(TypeCode tc)
See the description of the general Any operations.
|
void |
insert_ulong(int l)
See the description of the general Any operations.
|
void |
insert_ulonglong(long l)
See the description of the general Any operations.
|
void |
insert_ushort(short s)
See the description of the general Any operations.
|
void |
insert_Value(Serializable v) |
void |
insert_Value(Serializable v,
TypeCode t) |
void |
insert_wchar(char c)
See the description of the general Any operations.
|
void |
insert_wstring(String s)
See the description of the general Any operations.
|
boolean |
isInitialized() |
void |
read_value(InputStream in,
TypeCode tc) |
TypeCode |
type()
returns the type of the element contained in the Any.
|
void |
type(TypeCode tc)
sets the type of the element to be contained in the Any.
|
void |
write_value(OutputStream out) |
protected ORB orb
public AnyImpl(ORB orb)
public TypeCode type()
public void type(TypeCode tc)
public boolean equal(Any otherAny)
public OutputStream create_output_stream()
create_output_stream
in class Any
public InputStream create_input_stream()
create_input_stream
in class Any
public void read_value(InputStream in, TypeCode tc)
read_value
in class Any
public void write_value(OutputStream out)
write_value
in class Any
public void insert_Streamable(Streamable s)
insert_Streamable
in class Any
s
- the streamable to insertpublic Streamable extract_Streamable()
extract_Streamable
in class Any
public void insert_short(short s)
insert_short
in class Any
public short extract_short()
extract_short
in class Any
public void insert_long(int l)
insert_long
in class Any
public int extract_long()
extract_long
in class Any
public void insert_ushort(short s)
insert_ushort
in class Any
public short extract_ushort()
extract_ushort
in class Any
public void insert_ulong(int l)
insert_ulong
in class Any
public int extract_ulong()
extract_ulong
in class Any
public void insert_float(float f)
insert_float
in class Any
public float extract_float()
extract_float
in class Any
public void insert_double(double d)
insert_double
in class Any
public double extract_double()
extract_double
in class Any
public void insert_longlong(long l)
insert_longlong
in class Any
public long extract_longlong()
extract_longlong
in class Any
public void insert_ulonglong(long l)
insert_ulonglong
in class Any
public long extract_ulonglong()
extract_ulonglong
in class Any
public void insert_boolean(boolean b)
insert_boolean
in class Any
public boolean extract_boolean()
extract_boolean
in class Any
public void insert_char(char c)
insert_char
in class Any
public char extract_char()
extract_char
in class Any
public void insert_wchar(char c)
insert_wchar
in class Any
public char extract_wchar()
extract_wchar
in class Any
public void insert_octet(byte b)
insert_octet
in class Any
public byte extract_octet()
extract_octet
in class Any
public void insert_string(String s)
insert_string
in class Any
public String extract_string()
extract_string
in class Any
public void insert_wstring(String s)
insert_wstring
in class Any
public String extract_wstring()
extract_wstring
in class Any
public void insert_any(Any a)
insert_any
in class Any
public Any extract_any()
extract_any
in class Any
public void insert_Object(Object o)
insert_Object
in class Any
public void insert_Object(Object o, TypeCode tc)
insert_Object
in class Any
public Object extract_Object()
extract_Object
in class Any
public void insert_TypeCode(TypeCode tc)
insert_TypeCode
in class Any
public TypeCode extract_TypeCode()
extract_TypeCode
in class Any
@Deprecated public void insert_Principal(Principal p)
insert_Principal
in class Any
@Deprecated public Principal extract_Principal()
extract_Principal
in class Any
public Serializable extract_Value()
extract_Value
in class Any
public void insert_Value(Serializable v)
insert_Value
in class Any
public void insert_Value(Serializable v, TypeCode t)
insert_Value
in class Any
public void insert_fixed(BigDecimal value)
insert_fixed
in class Any
public void insert_fixed(BigDecimal value, TypeCode type)
insert_fixed
in class Any
public BigDecimal extract_fixed()
extract_fixed
in class Any
public TypeCode createTypeCodeForClass(Class<?> c, ORB tcORB)
public static Any extractAnyFromStream(TypeCode memberType, InputStream input, ORB orb)
public boolean isInitialized()
Copyright © 2018 JBoss by Red Hat. All rights reserved.