(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.