LibreOffice
LibreOffice 4.2 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Exported Interfaces | Public Member Functions | List of all members
XDataTypeRepository Interface Reference

specifies a repository of XSD data types More...

import"XDataTypeRepository.idl";

Inheritance diagram for XDataTypeRepository:
XEnumerationAccess XNameAccess XElementAccess XElementAccess XInterface XInterface

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 getBasicDataType ([in] short dataTypeClass) raises ( com::sun::star::container::NoSuchElementException )
 retrieves the basic type for the given type class More...
 
com::sun::star::xsd::XDataType cloneDataType ([in] string sourceName, [in] string newName) 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 revokeDataType ([in] string typeName) 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 getDataType ([in] string typeName) raises ( com::sun::star::container::NoSuchElementException )
 
- Public Member Functions inherited from XEnumerationAccess
com::sun::star::container::XEnumeration createEnumeration ()
 
- Public Member Functions inherited from XElementAccess
type getElementType ()
 
boolean hasElements ()
 
- Public Member Functions inherited from XInterface
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...
 
- Public Member Functions inherited from XNameAccess
any getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException )
 
sequence< string > getElementNames ()
 
boolean hasByName ([in] string aName)
 

Detailed Description

specifies a repository of XSD data types

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

Exported Interfaces

provides access to an enumeration of the contained data types

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

Member Function Documentation

creates a clone of the given data type, and inserts it into the repository

Exceptions
com::sun::star::container::NoSuchElementExceptionif the given name does not refer to a type in the repository
com::sun::star::container::ElementExistExceptionif the new name is already used in the repository
com::sun::star::xsd::XDataType getBasicDataType ( [in] short  dataTypeClass)
raises (com::sun::star::container::NoSuchElementException
)

retrieves the basic type for the given type class

See Also
com::sun::star::xsd::DataTypeClass
Exceptions
com::sun::star::container::NoSuchElementExceptionif in the repository, there is no data type with the given class
void revokeDataType ( [in] string  typeName)
raises ( com::sun::star::container::NoSuchElementException,
com::sun::star::util::VetoException
)

removes a data type given by name from the repository

Exceptions
com::sun::star::container::NoSuchElementExceptionif the given name does not refer to a type in the repository
com::sun::star::util::VetoExceptionif the specified data type is a built-in (basic) data type, and cannot be removed
See Also
com::sun::star::xsd::XDataType

The documentation for this interface was generated from the following file: