public final class NameHolder extends Object implements Streamable
Modifier and Type | Field and Description |
---|---|
NameComponent[] |
value
The stored Name (array of the name components).
|
Constructor and Description |
---|
NameHolder()
Create the empty holder.
|
NameHolder(NameComponent[] initialValue)
Create the intialised holder.
|
Modifier and Type | Method and Description |
---|---|
void |
_read(InputStream in)
Fill in the holder value by reading it from the CDR input stream.
|
TypeCode |
_type()
Get the Name type code.
|
void |
_write(OutputStream out)
Write the stored value into CDR output stream.
|
public NameComponent[] value
public NameHolder()
public NameHolder(NameComponent[] initialValue)
public void _read(InputStream in)
_read
in interface Streamable
in
- the input stream to read from.public TypeCode _type()
_type
in interface Streamable
public void _write(OutputStream out)
_write
in interface Streamable
out
- the output stream to write into.