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

interface XHierarchicalNameAccess

Methods' Summary
getByHierarchicalName  
hasByHierarchicalName  
Methods' Details
getByHierarchicalName
any
getByHierarchicalName( [in] string  aName )
raises( NoSuchElementException );

Returns
the object with the specified name.
Parameter aName
the name of the object.
Throws
NoSuchElementException if an element under Name does not exist.
hasByHierarchicalName
boolean
hasByHierarchicalName( [in] string  aName );

Returns
true if an element with this name is in the container, false otherwise.

In many cases, the next call is XNameAccess::getByName. You should optimize this case.

Parameter aName
the name of the object.
Top of Page