(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 ::

unpublished interface XServiceConstructorDescription
Usage Restrictions
not published
Description
Reflects a service constructor.
Since
OOo 2.0.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 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.