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

interface XSchema
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XSchema
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
Description
Handles access to the elements of a component schema, i.e its templates and its component definition.
Since
OpenOffice 1.1.2

Methods' Summary
readSchema Describes the full schema (templates + component) to a ::com::sun::star::configuration::backend::XSchemaHandler .  
readComponent Describes only the component definition to a ::com::sun::star::configuration::backend::XSchemaHandler .  
readTemplates Describes the component templates to a ::com::sun::star::configuration::backend::XSchemaHandler .  
Methods' Details
readSchema
void
readSchema( [in] ::com::sun::star::configuration::backend::XSchemaHandler  aHandler )
raises( ::com::sun::star::lang::NullPointerException,
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::configuration::backend::MalformedDataException );

Description
Describes the full schema (templates + component) to a ::com::sun::star::configuration::backend::XSchemaHandler .
Parameter aHandler
schema handler that will receive calls describing the contents of the templates and the component definition
Throws
com::sun::star::lang::NullPointerException if a NULL handler is passed.
Throws
com::sun::star::lang::WrappedTargetException if an error occurs in the access to or processing of the data or if a subsequent call to any of the ::com::sun::star::configuration::backend::XSchema methods is made. The elements of a component schema are only parsed once,a repeat call leads to exception.
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::XSchemaHandler .
readComponent
void
readComponent( [in] ::com::sun::star::configuration::backend::XSchemaHandler  aHandler )
raises( ::com::sun::star::lang::NullPointerException,
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::configuration::backend::MalformedDataException );

Description
Describes only the component definition to a ::com::sun::star::configuration::backend::XSchemaHandler .
Parameter aHandler
schema handler that will receive calls describing the contents of the component definition
Throws
com::sun::star::lang::NullPointerException if a NULL handler is passed.
Throws
com::sun::star::lang::WrappedTargetException if an error occurs in the access to or processing of the data or if a subsequent call to any of the ::com::sun::star::configuration::backend::XSchema methods is made. The elements of a component schema are only parsed once,a repeat call leads to exception.
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::XSchemaHandler .
readTemplates
void
readTemplates( [in] ::com::sun::star::configuration::backend::XSchemaHandler  aHandler )
raises( ::com::sun::star::lang::NullPointerException,
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::configuration::backend::MalformedDataException );

Description
Describes the component templates to a ::com::sun::star::configuration::backend::XSchemaHandler .
Parameter aHandler
schema handler that will receive calls describing the contents of the templates
Throws
com::sun::star::lang::NullPointerException if a NULL handler is passed.
Throws
com::sun::star::lang::WrappedTargetException if an error occurs in the access to or processing of the data or if a subsequent call to any of the ::com::sun::star::configuration::backend::XSchema methods is made. The elements of a component schema are only parsed once,a repeat call leads to exception.
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::XSchemaHandler .
Top of Page