|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jinterop.dcom.core.JIPointer
public final class JIPointer
Representation of a COM pointer.
Constructor Summary | |
---|---|
JIPointer(java.lang.Class value,
boolean isReferenceTypePtr)
Creates an instance of this class where the referent is of the type value . |
|
JIPointer(java.lang.Object value)
Creates an instance of this class where the referent is value . |
|
JIPointer(java.lang.Object value,
boolean isReferenceTypePtr)
Creates an instance of this class where the referent is value . |
Method Summary | |
---|---|
java.lang.Object |
getReferent()
Returns the referent encapsulated by this pointer. |
java.lang.Integer |
getReferentIdentifier()
Returns the referent identifier. |
boolean |
isNull()
Returns status if this pointer is null . |
boolean |
isReference()
Returns status whether this is a reference type pointer or not. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JIPointer(java.lang.Class value, boolean isReferenceTypePtr)
value
.
Used when deserializing this pointer.
value
- null
is acceptableisReferenceTypePtr
- true
if a referent identifier will not precede this ptr.public JIPointer(java.lang.Object value, boolean isReferenceTypePtr)
value
.
Used when serializing this pointer.
value
- null
is acceptableisReferenceTypePtr
- true
if a referent Identifier will not precede this ptr.public JIPointer(java.lang.Object value)
value
.
Used when serializing this pointer. This pointer is not of reference type.
value
- Method Detail |
---|
public java.lang.Object getReferent()
public boolean isReference()
true
if this is a reference type pointer.public java.lang.Integer getReferentIdentifier()
public boolean isNull()
null
.
true
if the pointer is null
.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |