:: com :: sun :: star :: configuration :: backend ::

interface XCompositeLayer
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--::com::sun::star::configuration::backend::XLayer
       |  
       +--XCompositeLayer
::com::sun::star::configuration::backend::XLayer
(referenced interface's summary:)
provides read access to the data contained in a layer.
Description
provides read access to layers that contain sublayers accessible through an additional criterion (for instance the locale they contain data for).
Since
OpenOffice 1.1.2

Methods' Summary
listSubLayerIds Returns a list of the criteria that can be used to access the sublayers.  
readSubLayerData Describes the content of a particular sublayer to an ::com::sun::star::configuration::backend::XLayerHandler .  
Methods' Details
listSubLayerIds
sequence< string >
listSubLayerIds()
raises( ::com::sun::star::lang::WrappedTargetException );

Description
Returns a list of the criteria that can be used to access the sublayers.
Returns
a list supported sublayer identifiers
Throws
com::sun::star::lang::WrappedTargetException if an error occurs in the retrieval of the data.
readSubLayerData
void
readSubLayerData( [in] ::com::sun::star::configuration::backend::XLayerHandler  aHandler,
[in] string  aSubLayerId )
raises( ::com::sun::star::lang::NullPointerException,
::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::configuration::backend::MalformedDataException );

Description
Describes the content of a particular sublayer to an ::com::sun::star::configuration::backend::XLayerHandler .
Parameter aHandler
Handler object that will receive calls describing the contents of the sublayer.
Parameter aSubLayerId
Identifier of the sublayer to be read.

Must be one the identifiers returned by ::com::sun::star::configuration::backend::XCompositeLayer::listSubLayerIds()

Throws
com::sun::star::lang::NullPointerException if a NULL handler is passed.
Throws
com::sun::star::lang::IllegalArgumentException if the identifier is invalid.
Throws
com::sun::star::lang::WrappedTargetException if an error occurs in the access to or processing of the data.
Throws
com::sun::star::configuration::backend::MalformedDataException if the data read from the layer is rejected as invalid by the ::com::sun::star::configuration::backend::XLayerHandler .
Top of Page