:: com :: sun :: star :: xforms ::

interface XDataTypeRepository
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--::com::sun::star::container::XElementAccess
       |  
       +--::com::sun::star::container::XEnumerationAccess
            |  
            |  ::com::sun::star::uno::XInterface
            |    |  
            |    +--::com::sun::star::container::XElementAccess
            |         |  
            |         +--::com::sun::star::container::XNameAccess
            |              |  
            +--------------+--XDataTypeRepository
::com::sun::star::container::XEnumerationAccess
Description
provides access to an enumeration of the contained data types
::com::sun::star::container::XNameAccess
Description
provides untyped access to the elements of the repository, as well as meta information such as the names of all contained types, and the existence of a named type
Usage Restrictions
not published
Description
specifies a repository of XSD data types

The elements of the repository are instances supporting the ::com::sun::star::xsd::XDataType interface.


Methods' Summary
getBasicDataType retrieves the basic type for the given type class  
cloneDataType creates a clone of the given data type, and inserts it into the repository  
revokeDataType removes a data type given by name from the repository  
getDataType  
Methods' Details
getBasicDataType
::com::sun::star::xsd::XDataType
getBasicDataType( [in] short  dataTypeClass )
raises( ::com::sun::star::container::NoSuchElementException );

Description
retrieves the basic type for the given type class
See also
::com::sun::star::xsd::DataTypeClass
Throws
com::sun::star::container::NoSuchElementException if in the repository, there is no data type with the given class
cloneDataType
::com::sun::star::xsd::XDataType
cloneDataType( [in] string  sourceName,
[in] string  newName )
raises( ::com::sun::star::container::NoSuchElementException,
::com::sun::star::container::ElementExistException );

Description
creates a clone of the given data type, and inserts it into the repository
Throws
com::sun::star::container::NoSuchElementException if the given name does not refer to a type in the repository
Throws
com::sun::star::container::ElementExistException if the new name is already used in the repository
revokeDataType
void
revokeDataType( [in] string  typeName )
raises( ::com::sun::star::container::NoSuchElementException,
::com::sun::star::util::VetoException );

Description
removes a data type given by name from the repository
Throws
com::sun::star::container::NoSuchElementException if the given name does not refer to a type in the repository
Throws
com::sun::star::util::VetoException if the specified data type is a built-in (basic) data type, and cannot be removed
See also
::com::sun::star::xsd::XDataType
getDataType
::com::sun::star::xsd::XDataType
getDataType( [in] string  typeName )
raises( ::com::sun::star::container::NoSuchElementException );

Description
Top of Page