Package | Description |
---|---|
com.sun.star.lib.uno.helper | |
com.sun.star.uno |
Modifier and Type | Method and Description |
---|---|
Type[] |
MultiTypeInterfaceContainer.getContainedTypes()
only returns types which have at least one value in InterfaceContainer
return value can contain an element null, if someone called
addInterface (null, interf)
|
Type[] |
WeakBase.getTypes()
Method of XTypeProvider.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PropertySet.registerProperty(String name,
int handle,
Type type,
short attributes,
Object id)
Registers a property with this helper class and associates the argument id with it.
|
protected void |
PropertySet.registerProperty(String name,
Type type,
short attributes,
Object id)
Registers a property with this class and associates the argument id with it.
|
Constructor and Description |
---|
PropertySetMixin(XComponentContext context,
XInterface object,
Type type,
String[] absentOptional)
The constructor.
|
Modifier and Type | Field and Description |
---|---|
protected Type |
Any._type
The type of the any.
|
static Type |
Type.ANY |
static Type |
Type.BOOLEAN |
static Type |
Type.BYTE |
static Type |
Type.CHAR |
static Type |
Type.DOUBLE |
static Type |
Type.FLOAT |
static Type |
Type.HYPER |
static Type |
Type.LONG |
static Type |
Type.SHORT |
static Type |
Type.STRING |
static Type |
Type.TYPE |
static Type |
Type.UNSIGNED_HYPER |
static Type |
Type.UNSIGNED_LONG |
static Type |
Type.UNSIGNED_SHORT |
static Type |
Type.VOID |
Modifier and Type | Method and Description |
---|---|
Type |
Any.getType()
Gets the type of the value within the any.
|
static Type |
AnyConverter.getType(Object object)
Determines the type of an Any object.
|
static Type |
AnyConverter.toType(Object object)
Converts a Type or an any containing a Type into a Type.
|
Modifier and Type | Method and Description |
---|---|
static Object |
UnoRuntime.completeValue(Type type,
Object value)
Complete a UNO value (make sure it is no invalid
null
value). |
Object |
IEnvironment.getRegisteredInterface(String oid,
Type type)
Deprecated.
Retrieves a registered object, specified by OID and UNO interface type.
|
boolean |
Type.isSupertypeOf(Type type)
Determines whether this UNO type is a supertype of another UNO type.
|
Object |
IMapping.mapInterface(Object object,
Type type)
Deprecated.
Maps an interface from one environment to another.
|
Object |
IBridge.mapInterfaceFrom(Object object,
Type type)
Deprecated.
Maps an object from the destination environment to the source
environment.
|
Object |
IBridge.mapInterfaceTo(Object object,
Type type)
Deprecated.
Maps an object from the source environment to the destination
environment.
|
Object |
IQueryInterface.queryInterface(Type type)
Returns an object implementing the requested interface type.
|
static Object |
UnoRuntime.queryInterface(Type type,
Object object)
Queries the given UNO object for the given UNO interface type.
|
Object |
IEnvironment.registerInterface(Object object,
String[] oid,
Type type)
Deprecated.
Registers one UNO interface facet of an object.
|
void |
IEnvironment.revokeInterface(String oid,
Type type)
Deprecated.
Explicitly revokes a UNO interface facet.
|
static Object |
AnyConverter.toObject(Type type,
Object object)
Converts a UNO object (struct, exception, sequence, enum or interface) or
an Any containing these types into a UNO object of a specified destination
type.
|
Constructor and Description |
---|
Any(Type type,
Object object)
Constructs a new any with a given type and value
|