Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

The Java Type Library

Typelibrarys for java are jar files with compiled interfaces. These interfaces have to have a special static member called UNOTYPEINFO. This member is an array of hints (TypeInfos) for the types of method signatures and attributes. This information is needed, because e.g the types XInterface and Any are both mapped to java.lang.Object. Another reason is, that e.g. that URP uses method indices for calling methods and that java the order of methods at an interface is not specified, that means, some java implemenations reorder methods.

The class com.sun.star.lib.uno.typedesc.TypeDescription allows the convinient and fast access to type descriptions in jar files.

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.