Package com.ericsson.otp.ic
Class Any
- java.lang.Object
-
- com.ericsson.otp.ic.Any
-
- Direct Known Subclasses:
Term
public class Any extends java.lang.Object
The Any class is the java mapping of the any OMG-IDL type.
-
-
Constructor Summary
Constructors Constructor Description Any()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equal(Any _any)
Any comparison methodjava.lang.String
extract_atom()
Atom value extractor methodboolean
extract_boolean()
Boolean value extractor methodchar
extract_char()
Char value extractor methoddouble
extract_double()
Double value extractor methodfloat
extract_float()
Float value extractor methodint
extract_long()
Long value extractor methodlong
extract_longlong()
Long Long value extractor methodbyte
extract_octet()
Octet value extractor methodshort
extract_short()
Short value extractor methodcom.ericsson.otp.erlang.OtpInputStream
extract_Streamable()
Object Stream extractor methodjava.lang.String
extract_string()
String value extractor methodint
extract_ulong()
Unsigned Long value extractor methodlong
extract_ulonglong()
Unsigned Long Long value extractor methodshort
extract_ushort()
Unsigned Short value extractor methodchar
extract_wchar()
Wchar value extractor methodjava.lang.String
extract_wstring()
Wstring value extractor methodvoid
insert_atom(java.lang.String s)
Atom value insertion methodvoid
insert_boolean(boolean b)
Boolean value insertion methodvoid
insert_char(char c)
Char value insertion methodvoid
insert_double(double d)
Double value insertion methodvoid
insert_float(float f)
Float value insertion methodvoid
insert_long(int i)
Long value insertion methodvoid
insert_longlong(long l)
Long Long value insertion methodvoid
insert_octet(byte b)
Octet value insertion methodvoid
insert_short(short s)
Short value insertion methodvoid
insert_Streamable(com.ericsson.otp.erlang.OtpOutputStream _os)
Object Stream insertion methodvoid
insert_string(java.lang.String s)
String value insertion methodvoid
insert_ulong(int i)
Unsigned Long value insertion methodvoid
insert_ulonglong(long l)
Unsigned Long Long value insertion methodvoid
insert_ushort(short s)
Unsigned Short value insertion methodvoid
insert_wchar(char c)
Wchar value insertion methodvoid
insert_wstring(java.lang.String s)
Wstring value insertion methodvoid
read_value(com.ericsson.otp.erlang.OtpInputStream _is, TypeCode _tc)
Reads a value from the stream, according to the inserted TypeCodeTypeCode
type()
TypeCode accessor methodvoid
type(TypeCode _tc)
TypeCode insertion methodvoid
write_value(com.ericsson.otp.erlang.OtpOutputStream _os)
Writes the Any's value to the ouput stream
-
-
-
Method Detail
-
equal
public boolean equal(Any _any)
Any comparison method- Returns:
- true if the input Any is equal to the object, false otherwize
-
type
public TypeCode type()
TypeCode accessor method- Returns:
- the Any's TypeCode
-
type
public void type(TypeCode _tc)
TypeCode insertion method
-
read_value
public void read_value(com.ericsson.otp.erlang.OtpInputStream _is, TypeCode _tc) throws java.lang.Exception
Reads a value from the stream, according to the inserted TypeCode- Throws:
java.lang.Exception
-
write_value
public void write_value(com.ericsson.otp.erlang.OtpOutputStream _os) throws java.lang.Exception
Writes the Any's value to the ouput stream- Throws:
java.lang.Exception
-
extract_short
public short extract_short() throws java.lang.Exception
Short value extractor method- Returns:
- short, the value of Any
- Throws:
java.lang.Exception
-
insert_short
public void insert_short(short s)
Short value insertion method
-
extract_long
public int extract_long() throws java.lang.Exception
Long value extractor method- Returns:
- int, the value of Any
- Throws:
java.lang.Exception
-
insert_long
public void insert_long(int i)
Long value insertion method
-
extract_longlong
public long extract_longlong() throws java.lang.Exception
Long Long value extractor method- Returns:
- long, the value of Any
- Throws:
java.lang.Exception
-
insert_longlong
public void insert_longlong(long l)
Long Long value insertion method
-
extract_ushort
public short extract_ushort() throws java.lang.Exception
Unsigned Short value extractor method- Returns:
- short, the value of Any
- Throws:
java.lang.Exception
-
insert_ushort
public void insert_ushort(short s)
Unsigned Short value insertion method
-
extract_ulong
public int extract_ulong() throws java.lang.Exception
Unsigned Long value extractor method- Returns:
- int, the value of Any
- Throws:
java.lang.Exception
-
insert_ulong
public void insert_ulong(int i)
Unsigned Long value insertion method
-
extract_ulonglong
public long extract_ulonglong() throws java.lang.Exception
Unsigned Long Long value extractor method- Returns:
- long, the value of Any
- Throws:
java.lang.Exception
-
insert_ulonglong
public void insert_ulonglong(long l)
Unsigned Long Long value insertion method
-
extract_float
public float extract_float() throws java.lang.Exception
Float value extractor method- Returns:
- float, the value of Any
- Throws:
java.lang.Exception
-
insert_float
public void insert_float(float f)
Float value insertion method
-
extract_double
public double extract_double() throws java.lang.Exception
Double value extractor method- Returns:
- double, the value of Any
- Throws:
java.lang.Exception
-
insert_double
public void insert_double(double d)
Double value insertion method
-
extract_boolean
public boolean extract_boolean() throws java.lang.Exception
Boolean value extractor method- Returns:
- boolean, the value of Any
- Throws:
java.lang.Exception
-
insert_boolean
public void insert_boolean(boolean b)
Boolean value insertion method
-
extract_char
public char extract_char() throws java.lang.Exception
Char value extractor method- Returns:
- char, the value of Any
- Throws:
java.lang.Exception
-
insert_char
public void insert_char(char c)
Char value insertion method
-
extract_wchar
public char extract_wchar() throws java.lang.Exception
Wchar value extractor method- Returns:
- char, the value of Any
- Throws:
java.lang.Exception
-
insert_wchar
public void insert_wchar(char c)
Wchar value insertion method
-
extract_octet
public byte extract_octet() throws java.lang.Exception
Octet value extractor method- Returns:
- byte, the value of Any
- Throws:
java.lang.Exception
-
insert_octet
public void insert_octet(byte b)
Octet value insertion method
-
extract_string
public java.lang.String extract_string() throws java.lang.Exception
String value extractor method- Returns:
- String, the value of Any
- Throws:
java.lang.Exception
-
insert_string
public void insert_string(java.lang.String s)
String value insertion method
-
extract_wstring
public java.lang.String extract_wstring() throws java.lang.Exception
Wstring value extractor method- Returns:
- String, the value of Any
- Throws:
java.lang.Exception
-
insert_wstring
public void insert_wstring(java.lang.String s)
Wstring value insertion method
-
extract_atom
public java.lang.String extract_atom() throws java.lang.Exception
Atom value extractor method- Returns:
- atom, the value of Any
- Throws:
java.lang.Exception
-
insert_atom
public void insert_atom(java.lang.String s)
Atom value insertion method
-
insert_Streamable
public void insert_Streamable(com.ericsson.otp.erlang.OtpOutputStream _os)
Object Stream insertion method
-
extract_Streamable
public com.ericsson.otp.erlang.OtpInputStream extract_Streamable()
Object Stream extractor method- Returns:
- OtpInputStream, the stream value of Any
-
-