Constructor and Description |
---|
TaggedComponentList()
Constructs a new, empty TaggedComponentList.
|
TaggedComponentList(byte[] data)
Constructs a TaggedComponentList from a CDR encapsulation of
an array of tagged components.
|
TaggedComponentList(InputStream in)
Constructs a TaggedComponentList object from a CDR representation
of an array of tagged components.
|
Modifier and Type | Method and Description |
---|---|
void |
addAll(TaggedComponentList other)
Adds an entire TaggedComponentList to this list.
|
void |
addComponent(int tag,
byte[] data)
Adds a tagged component to this list.
|
void |
addComponent(int tag,
Object data,
Class helper)
Adds a tagged component to this list.
|
void |
addComponent(TaggedComponent component)
Adds a tagged component to this list.
|
TaggedComponent[] |
asArray() |
Object |
clone() |
TaggedComponent |
get(int index) |
Object |
getComponent(int tag,
Class helper)
Searches for a component with the given tag in this component list.
|
List |
getComponents(Configuration configuration,
int tag,
Class helper)
Returns a List of all components with the given tag from this
TaggedComponentList.
|
boolean |
isEmpty() |
void |
removeComponents(int tag)
This function will search and remove the components, whose tag matches
the given tag, from the components list.
|
int |
size() |
public TaggedComponentList(InputStream in)
public TaggedComponentList(byte[] data)
public TaggedComponentList()
public int size()
public boolean isEmpty()
public TaggedComponent get(int index)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public TaggedComponent[] asArray()
public void addComponent(int tag, Object data, Class helper)
public void addComponent(int tag, byte[] data)
public void addComponent(TaggedComponent component)
public void addAll(TaggedComponentList other)
public Object getComponent(int tag, Class helper)
public List getComponents(Configuration configuration, int tag, Class helper)
public void removeComponents(int tag)
tag
- Copyright © 2017 JacORB. All rights reserved.