Language

The Free and Open Productivity Suite
Apache OpenOffice 4.1.8 released

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: reflection ::

interface XIdlReflection
Description
Interface to reflect types.
See also
CoreReflection, XIdlClass

Methods' Summary
forName Obtaining a reflection interface for a type. You specify the type by its name. If the given type name can not be reflected, then a null-reference is returned.  
getType Obtaining a reflection interface for an object. This method takes the type of the object the any contains into account. If the any contains no object, then a null-reference is returned.  
Methods' Details
forName
XIdlClass
forName( [in] string  aTypeName );

Description
Obtaining a reflection interface for a type. You specify the type by its name. If the given type name can not be reflected, then a null-reference is returned.
Parameter aTypeName
the type's name
Returns
reflection interface for the demanded type (or null)
getType
XIdlClass
getType( [in] any  aObj );

Description
Obtaining a reflection interface for an object. This method takes the type of the object the any contains into account. If the any contains no object, then a null-reference is returned.
Parameter aObj
an object
Returns
reflection interface of the type of the demanded object (or null)
Top of Page

Apache Events

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.