:: com :: sun :: star :: container ::

interface XIdentifierReplace
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XElementAccess
    |
    +-XIdentifierAccess
       |
       +-XIdentifierReplace
Description
This is the generic interface for supporting the replacement of elements with unique identifiers.

Methods' Summary
replaceByIdentifer replaces the element with the specified identifier.
Methods' Details
replaceByIdentifer
void
replaceByIdentifer(
 
[in] long
[in] any 

raises(

 
Identifier,
aElement ) 
::com::sun::star::lang::IllegalArgumentException,
NoSuchElementException,
::com::sun::star::lang::WrappedTargetException );

Description
replaces the element with the specified identifier.
Parameter Identifier
specifies the identifier of the element that should be retrieved.
Parameter aElement
the new element that replaces the old element for the specified identifier.
Throws
com::sun::star::lang::IllegalArgumentException If the argument is not valid for this container.
Throws
com::sun::star::lang::NoSuchElementException If the identifier is not existing.
Throws
com::sun::star::lang::WrappedTargetException If the implementation has internal reasons for exceptions, then wrap these in a ::com::sun::star::lang::WrappedTargetException exception.
Top of Page