|
UDK 3.1.0 Java API Reference | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--com.sun.star.uno.Any
The UNO IDL type any is mapped to java type java.lang.Object
.
In special cases it is necessary to have an explicit any to additionally transport an exact type. For instance if you want to pass an object reference via an interprocess connection using an any, you should use this class to add an explicit interface type, so the remote counterpart doesn't need to invoke a queryInterface).
フィールドの概要 | |
protected Object |
_object
The data of the any. |
protected Type |
_type
The type of the any. |
static Any |
VOID
|
コンストラクタの概要 | |
Any(Class zInterface,
Object object)
推奨されていません。 as of UDK 2.0 |
|
Any(Type type,
Object object)
Constructs a new any with a given type and value |
メソッドの概要 | |
Object |
getObject()
Gets the value within the any. |
Type |
getType()
Gets the type of the value within the any. |
String |
toString()
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
protected Type _type
getType()
protected Object _object
getObject()
public static final Any VOID
コンストラクタの詳細 |
public Any(Class zInterface, Object object)
zInterface
- the type of the any.object
- the data of the any.public Any(Type type, Object object)
type
- the UNO type of the any.object
- the value of the any.メソッドの詳細 |
public Type getType()
public Object getObject()
public String toString()
Object
内の toString
|
UDK 3.1.0 Java API Reference | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |