|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacorb.orb.TaggedComponentList
public class TaggedComponentList
Represents a list of tagged components from an IOR, along with some generic methods to find and access individual components.
| Constructor Summary | |
|---|---|
TaggedComponentList()
Constructs a new, empty TaggedComponentList. |
|
TaggedComponentList(byte[] data)
Constructs a TaggedComponentList from a CDR encapsulation of an array of tagged components. |
|
TaggedComponentList(org.omg.CORBA.portable.InputStream in)
Constructs a TaggedComponentList object from a CDR representation of an array of tagged components. |
|
| Method Summary | |
|---|---|
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,
java.lang.Object data,
java.lang.Class helper)
Adds a tagged component to this list. |
void |
addComponent(org.omg.IOP.TaggedComponent component)
Adds a tagged component to this list. |
org.omg.IOP.TaggedComponent[] |
asArray()
|
java.lang.Object |
clone()
|
org.omg.IOP.TaggedComponent |
get(int index)
|
java.lang.Object |
getComponent(int tag,
java.lang.Class helper)
Searches for a component with the given tag in this component list. |
java.util.List |
getComponents(int tag,
java.lang.Class helper)
Returns a List of all components with the given tag from this TaggedComponentList. |
java.lang.String |
getStringComponent(int tag)
Returns the first component with the given tag, which is assumed to be a CDR string. |
boolean |
isEmpty()
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaggedComponentList(org.omg.CORBA.portable.InputStream in)
public TaggedComponentList(byte[] data)
public TaggedComponentList()
| Method Detail |
|---|
public int size()
public boolean isEmpty()
public org.omg.IOP.TaggedComponent get(int index)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic org.omg.IOP.TaggedComponent[] asArray()
public void addComponent(int tag,
java.lang.Object data,
java.lang.Class helper)
public void addComponent(int tag,
byte[] data)
public void addComponent(org.omg.IOP.TaggedComponent component)
public void addAll(TaggedComponentList other)
public java.lang.Object getComponent(int tag,
java.lang.Class helper)
public java.lang.String getStringComponent(int tag)
public java.util.List getComponents(int tag,
java.lang.Class helper)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||