com.sun.star.uno
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
|---|---|
protected Object |
_object
The data of the any. |
protected Type |
_type
The type of the any. |
static Any |
VOID
|
| Constructor Summary | |
|---|---|
Any(Class zInterface,
Object object)
Deprecated. as of UDK 2.0 |
|
Any(Type type,
Object object)
Constructs a new any with a given type and value |
|
| Method Summary | |
|---|---|
static Any |
complete(Object any)
Complete a UNO ANY (make sure it is wrapped up as an
Any instance). |
boolean |
equals(Object obj)
|
Object |
getObject()
Gets the value within the any. |
Type |
getType()
Gets the type of the value within the any. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
_type
protected Type _type
- The type of the any.
- See Also:
getType()
_object
protected Object _object
- The data of the any.
- See Also:
getObject()
VOID
public static final Any VOID
| Constructor Detail |
|---|
Any
public Any(Class zInterface, Object object)
- Deprecated. as of UDK 2.0
- Constructs a new any.
- Parameters:
zInterface- the type of the any.object- the data of the any.
- Constructs a new any.
Any
public Any(Type type, Object object)
- Constructs a new any with a given type and value
- Parameters:
type- the UNO type of the any.object- the value of the any.
| Method Detail |
|---|
complete
public static final Any complete(Object any)
- Complete a UNO
ANY(make sure it is wrapped up as anAnyinstance).- Parameters:
any- a Java value representing a UNOANYvalue.- Returns:
- a complete Java value (that is, an
Anyinstance) representing the same UNOANYvalue as the given argument. - Since:
- UDK 3.2.3
getType
public Type getType()
- Gets the type of the value within the any.
- Returns:
- the type of the value within the any.
getObject
public Object getObject()
- Gets the value within the any.
- Returns:
- gets the value within the any.
equals
public boolean equals(Object obj)
hashCode
public int hashCode()
toString
public String toString()
|
UDK 3.2.7 Java API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.sun.star.uno.Any

