TYPE
. The UNO type is not directly mapped to java.lang.Class
for at least two reasons. For one, some UNO types (like UNSIGNED SHORT
) do not have a matching Java class. For another, it can be necessary to describe a type which is unknown to the Java runtime system (for example, for delaying the need of a class, so that it is possible to generate it on the fly.)
A Type
is uniquely determined by its type class (a TypeClass
) and its type name (a String
); these two will never be null
. A Type
may have an additional "z class" (a java.lang.Class
), giving a Java class type that corresponds to the UNO type. Also, a Type
can cache a type description (a com.sun.star.uno.ITypeDescription
), which can be computed and set by TypeDescription.getTypeDescription
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|