|
Préférences
Moteurs de recherche
|
||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
org.omg.CORBA
|
Field Summary | |
---|---|
String |
value
The String value held by this StringHolder
object. |
Constructor Summary | |
---|---|
StringHolder()
Constructs a new StringHolder object with its
value field initialized to null . |
|
StringHolder(String initial)
Constructs a new StringHolder object with its
value field initialized to the given
String . |
Method Summary | |
---|---|
void |
_read(InputStream input)
Reads the unmarshalled data from input and assigns it to
the value field of this StringHolder object. |
TypeCode |
_type()
Retrieves the TypeCode object that corresponds to
the value held in this StringHolder object. |
void |
_write(OutputStream output)
Marshals the value held by this StringHolder object
to the output stream output . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String value
String
value held by this StringHolder
object.
Constructor Detail |
---|
public StringHolder()
StringHolder
object with its
value
field initialized to null
.
public StringHolder(String initial)
StringHolder
object with its
value
field initialized to the given
String
.
initial
- the String
with which to initialize
the value
field of the newly-created
StringHolder
objectMethod Detail |
---|
public void _read(InputStream input)
input
and assigns it to
the value
field of this StringHolder
object.
_read
in interface Streamable
input
- the InputStream containing CDR formatted data from the wire.public void _write(OutputStream output)
StringHolder
object
to the output stream output
.
_write
in interface Streamable
output
- the OutputStream which will contain the CDR formatted data.public TypeCode _type()
TypeCode
object that corresponds to
the value held in this StringHolder
object.
_type
in interface Streamable
StringHolder
object