LibreOffice
LibreOffice 5.3 SDK API Reference
|
specifies a repository of XSD data types More...
import "XDataTypeRepository.idl";
Exported Interfaces | |
interface | com::sun::star::container::XEnumerationAccess |
provides access to an enumeration of the contained data types More... | |
interface | com::sun::star::container::XNameAccess |
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 More... | |
Public Member Functions | |
com::sun::star::xsd::XDataType | raises (com::sun::star::container::NoSuchElementException) |
retrieves the basic type for the given type class More... | |
com::sun::star::xsd::XDataType | raises (com::sun::star::container::NoSuchElementException, com::sun::star::container::ElementExistException) |
creates a clone of the given data type, and inserts it into the repository More... | |
void | raises (com::sun::star::container::NoSuchElementException, com::sun::star::util::VetoException) |
removes a data type given by name from the repository More... | |
com::sun::star::xsd::XDataType | raises (com::sun::star::container::NoSuchElementException) |
![]() | |
com::sun::star::container::XEnumeration | createEnumeration () |
![]() | |
type | getElementType () |
boolean | hasElements () |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
![]() | |
any | getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
sequence< string > | getElementNames () |
boolean | hasByName ([in] string aName) |
specifies a repository of XSD data types
The elements of the repository are instances supporting the com::sun::star::xsd::XDataType interface.
provides access to an enumeration of the contained data types
interface com::sun::star::container::XNameAccess |
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
retrieves the basic type for the given type class
com::sun::star::container::NoSuchElementException | if in the repository, there is no data type with the given class |
com::sun::star::xsd::XDataType raises | ( | com::sun::star::container::NoSuchElementException | , |
com::sun::star::container::ElementExistException | |||
) |
creates a clone of the given data type, and inserts it into the repository
com::sun::star::container::NoSuchElementException | if the given name does not refer to a type in the repository |
com::sun::star::container::ElementExistException | if the new name is already used in the repository |
void raises | ( | com::sun::star::container::NoSuchElementException | , |
com::sun::star::util::VetoException | |||
) |
removes a data type given by name from the repository
com::sun::star::container::NoSuchElementException | if the given name does not refer to a type in the repository |
com::sun::star::util::VetoException | if the specified data type is a built-in (basic) data type, and cannot be removed |