Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XNameContainer

Base Interface
com::sun::star::container::XNameReplace

Description
This is the generic interface for supporting the insertion and removal of named elements.
See also
XContainer


Known Services which Export this Interface

com::sun::star::form::FormComponents specifies the capabilities of a collection of FormComponents.
com::sun::star::form::component::GridControl This service specifies a ControlModel to represent data in a table.
com::sun::star::presentation::CustomPresentationAccess This is a container for custom presentations.
com::sun::star::drawing::BitmapTable this is a container for URLs to bitmaps.
com::sun::star::drawing::DashTable this is a container for LineDash s
com::sun::star::drawing::GradientTable this is a container for com.sun.star.awt.Gradient s
com::sun::star::drawing::HatchTable this is a container for Hatch s
com::sun::star::drawing::MarkerTable this is a container for PointSequence s
com::sun::star::drawing::TransparencyGradientTable this is a container for com.sun.star.awt.Gradient s
com::sun::star::ucb::HierarchyDataReadWriteAccess provides read and write access to a fragment of the hierarchy data.
com::sun::star::sheet::TableAutoFormats a list of table autoformats.
com::sun::star::sheet::SheetCellRanges represents a collection of cell ranges in a spreadsheet document.
com::sun::star::xml::AttributeContainer This service describes a container for xml attributes. Each attribute is accessed with its local name, or optionally, its local name with its namespace prefix. The type and value of an attribute is stored in a AttributeData struct. If you use a namespace in the AttributeData , you must use a prefix in the name and you must use a namespace, if you use a prefix.
com::sun::star::xml::NamespaceContainer This service describes a container for XML namespaces. Each namespace is accessed with its prefix and the URL is stored as a string.
com::sun::star::configuration::SimpleSetUpdate provides write access to a dynamic, homogeneous, non-hierarchical set of values or objects.
com::sun::star::style::StyleFamily This service is a container of style sheets of the same style family.
com::sun::star::packages::PackageFolder The PackageFolder service represents a single folder or directory within a Package. Instances of this service can only be constructed by an implementation of the Package service and not via the service manager.
com::sun::star::sdb::DefinitionContainer describes a container which provides access to database related definitions like commands, forms, and reports.

Methods' Summary

insertByName inserts the given element at the specified name.
removeByName removes the element with the specified name.

Methods' Details

insertByName
 
void
insertByName(
[ in ] string aName,
[ in ] any aElement )
raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::ElementExistException, com::sun::star::lang::WrappedTargetException );

Description
inserts the given element at the specified name.
removeByName
 
void
removeByName(
[ in ] string Name )
raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException );

Description
removes the element with the specified name.

Top of Page