org.omg.IOP
Class TaggedComponentHelperjava.lang.Object | +--org.omg.IOP.TaggedComponentHelper
- public abstract class TaggedComponentHelper
- extends Object
TaggedComponents contained in TAG_INTERNET_IOP and TAG_MULTIPLE_COMPONENTS profiles are identified by unique numeric tags using a namespace distinct form that is used for profile tags. Component tags are assigned by the OMG.
Specifications of components must include the following information:
Specification of protocols must describe how the components affect the protocol. The following should be specified in any protocol definition for each TaggedComponent that the protocol uses:
- Component ID: The compound tag that is obtained from OMG.
- Structure and encoding: The syntax of the component data and the encoding rules. If the component value is encoded as a CDR encapsulation, the IDL type that is encapsulated and the GIOP version which is used for encoding the value, if different than GIOP 1.0, must be specified as part of the component definition.
- Semantics: How the component data is intended to be used.
- Protocols: The protocol for which the component is defined, and whether it is intended that the component be usable by other protocols.
- At most once: whether more than one instance of this component can be included in a profile.
- Mandatory presence: Whether inclusion of the component in profiles supporting the protocol is required (MANDATORY PRESENCE) or not required (OPTIONAL PRESENCE).
- Droppable: For optional presence component, whether component, if present, must be retained or may be dropped.
Constructor Summary
TaggedComponentHelper()
Method Summary
static TaggedComponent extract(Any a)
static String id()
static void insert(Any a, TaggedComponent that)
static TaggedComponent read(InputStream istream)
static TypeCode type()
static void write(OutputStream ostream, TaggedComponent value)
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
TaggedComponentHelper
public TaggedComponentHelper()
Method Detail
insert
public static void insert(Any a, TaggedComponent that)
extract
public static TaggedComponent extract(Any a)
type
public static TypeCode type()
id
public static String id()
read
public static TaggedComponent read(InputStream istream)
write
public static void write(OutputStream ostream, TaggedComponent value)