Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished interface XDataTypeRepository
Base Interfaces
XDataTypeRepository
┣ ::com::sun::star::container::XEnumerationAccess
┃ ┗ ::com::sun::star::container::XElementAccess
┗ ::com::sun::star::container::XNameAccess
   ┗ ::com::sun::star::container::XElementAccess

::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
Throws
com::sun::star::container::NoSuchElementException if in the repository, there is no data type with the given class
See also
::com::sun::star::xsd::DataTypeClass
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 );

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.