|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.orb.ParsedIOR
Class to convert IOR strings into IOR structures
Field Summary | |
protected boolean |
endianness
|
Constructor Summary | |
ParsedIOR(IOR _ior,
ORB orb)
|
|
ParsedIOR(java.lang.String object_reference,
ORB orb)
Creates a new ParsedIOR instance. |
|
ParsedIOR(java.lang.String object_reference,
ORB orb)
Creates a new ParsedIOR instance. |
Method Summary | |
static IOR |
createObjectIOR(Profile profile)
factory method |
void |
decode(IOR _ior)
When multiple internet IOP tags are present, they will probably have different versions, we will use the highest version between 0 and 1. |
boolean |
equals(java.lang.Object o)
|
static byte[] |
extractObjectKey(TargetAddress addr,
ORB orb)
This method replaces the unfiyTargetAddress method. |
byte[] |
get_object_key()
|
java.lang.String |
getCodebaseComponent()
Returns the value of the TAG_JAVA_CODEBASE component from this IOR, or null if no such component exists. |
CodeSetComponentInfo |
getCodeSetComponentInfo()
|
Profile |
getEffectiveProfile()
|
java.lang.String |
getIDString()
|
IOR |
getIOR()
|
java.lang.String |
getIORString()
|
TaggedComponentList |
getMultipleComponents()
|
java.lang.Integer |
getORBTypeId()
|
java.util.List |
getProfiles()
|
java.lang.String |
getTypeId()
|
boolean |
isNull()
|
static boolean |
isParsableProtocol(java.lang.String check)
isParsableProtocol returns true if ParsedIOR can handle the
protocol within the string. |
protected void |
parse(java.lang.String object_reference)
parse decodes the object_reference passed to ParsedIOR. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean endianness
Constructor Detail |
public ParsedIOR(java.lang.String object_reference, ORB orb) throws java.lang.IllegalArgumentException
ParsedIOR
instance.
object_reference
- a String
valueorb
- an org.omg.CORBA.ORB
value
java.lang.IllegalArgumentException
- if an error occurspublic ParsedIOR(java.lang.String object_reference, ORB orb) throws java.lang.IllegalArgumentException
ParsedIOR
instance.
object_reference
- a String
valueorb
- an org.jacorb.orb.ORB
value
java.lang.IllegalArgumentException
- if an error occurspublic ParsedIOR(IOR _ior, ORB orb)
Method Detail |
public static IOR createObjectIOR(Profile profile)
public static byte[] extractObjectKey(TargetAddress addr, ORB orb)
It will extract an object key from any given GIOP::TargetAddress assuming an appropriate ETF::Factories implementation is availble for the profile in use.
public java.lang.String getCodebaseComponent()
public boolean equals(java.lang.Object o)
public void decode(IOR _ior)
public CodeSetComponentInfo getCodeSetComponentInfo()
public java.lang.Integer getORBTypeId()
public IOR getIOR()
public java.lang.String getIORString()
public byte[] get_object_key()
public java.util.List getProfiles()
public Profile getEffectiveProfile()
public java.lang.String getTypeId()
public java.lang.String getIDString()
public TaggedComponentList getMultipleComponents()
public boolean isNull()
protected void parse(java.lang.String object_reference) throws java.lang.IllegalArgumentException
parse
decodes the object_reference passed to ParsedIOR.
object_reference
- a String
value.
java.lang.IllegalArgumentException
- if object_reference is null or the
designated resource cannot be found.public static boolean isParsableProtocol(java.lang.String check)
isParsableProtocol
returns true if ParsedIOR can handle the
protocol within the string.
check
- a String
a string containing a protocol.
boolean
denoting whether ParsedIOR can handle this
protocol
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |