:: com :: sun :: star :: resource ::

interface XResourceBundle
Base Interfaces
XResourceBundle
┗ ::com::sun::star::container::XNameAccess
   ┗ ::com::sun::star::container::XElementAccess

::com::sun::star::container::XNameAccess
(referenced interface's summary:)

Methods' Summary
getLocale  
getDirectElement  
Attributes' Summary
Parent contains the parent bundle of this bundle.  
Methods' Details
getLocale
::com::sun::star::lang::Locale
getLocale();

Returns
the locale for this resource bundle.

This function can be used to determine whether the resource bundle that is returned really corresponds to the requested locale or is a fallback.

getDirectElement
any
getDirectElement( [in] string  key );

Returns
an object from a resource bundle or NULL if no resource exists.

It does not look in the parents.

Parameter key
specifies the element.
Attributes' Details
Parent
XResourceBundle Parent;
Description
contains the parent bundle of this bundle.

The parent bundle is searched by the method XNameAccess::getByName when this bundle does not contain a particular resource.

Top of Page