Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: configuration :: backend ::
interface XSchema
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XSchema
Description Handles access to the elements of a component schema, i.e its templates and its component definition. Since version OpenOffice.org 1.1.1

Methods' Summary
readSchema | Describes the full schema (templates + component) to a XSchemaHandler .
readComponent | Describes only the component definition to a XSchemaHandler .
readTemplates | Describes the component templates to a XSchemaHandler .

Methods' Details
readSchema
void readSchema( | [in] XSchemaHandler raises( | aHandler ) ::com::sun::star::lang::NullPointerException, ::com::sun::star::lang::WrappedTargetException, MalformedDataException );
Description Describes the full schema (templates + component) to a 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. Throws com::sun::star::configuration::backend::MalformedDataException if the data read from the layer is rejected as invalid by the XSchemaHandler .
readComponent
void readComponent( | [in] XSchemaHandler raises( | aHandler ) ::com::sun::star::lang::NullPointerException, ::com::sun::star::lang::WrappedTargetException, MalformedDataException );
Description Describes only the component definition to a 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. Throws com::sun::star::configuration::backend::MalformedDataException if the data read from the layer is rejected as invalid by the XSchemaHandler .
readTemplates
void readTemplates( | [in] XSchemaHandler raises( | aHandler ) ::com::sun::star::lang::NullPointerException, ::com::sun::star::lang::WrappedTargetException, MalformedDataException );
Description Describes the component templates to a 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. Throws com::sun::star::configuration::backend::MalformedDataException if the data read from the layer is rejected as invalid by the XSchemaHandler .

Top of Page

Copyright © 2003 Sun Microsystems, Inc.