Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished interface XServiceConstructorDescription
Usage Restrictions
not published
Description
Reflects a service constructor.
Since
OOo 2.0

Methods' Summary
isDefaultConstructor Returns whether the constructor is a default constructor.  
getName Returns the constructor's name.  
getParameters Returns the constructor's parameters.  
getExceptions Returns the exceptions that can be raised by the constructor.  
Methods' Details
isDefaultConstructor
boolean
isDefaultConstructor();

Description
Returns whether the constructor is a default constructor.
Returns
true if the constructor is a default constructor
getName
string
getName();

Description
Returns the constructor's name.
Returns
the constructor's name; for a default constructor, an empty string is returned
getParameters
sequence< XParameter >
getParameters();

Description
Returns the constructor's parameters.
Returns
the reflections of all the constructor's parameters, in their lexical order; for a default constructor, an empty sequence is returned
getExceptions
sequence< XCompoundTypeDescription >
getExceptions();

Description
Returns the exceptions that can be raised by the constructor.
Returns
the reflections of all the exceptions that are listed in the constructor's raises specification, in no particular order; all elements of the returned sequence will be reflections of exception types; for a default constructor, an empty sequence is returned (even though the mapping of a default constructor in a particular language binding may well raise certain UNO exceptions)
Top of Page

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.