interface XHierarchicalPropertySetInfo in module com::sun::star::beans::

(Global Index)

Syntax

interface XHierarchicalPropertySetInfo : com::sun::star::uno::XInterface ;

Description

specifies a hierarchy of properties.

The specification only describes the properties, it does not contain any values.

Method Summary

getPropertyByHierarchicalName

hasPropertyByHierarchicalName

Method Details



getPropertyByHierarchicalName

Syntax

com::sun::star::beans::Property getPropertyByHierarchicalName (
string aHierarchicalName )
raises ( com::sun::star::beans::UnknownPropertyException );

Description

Returns

the property with the specified name from the hierarchy.

Parameter aHierarchicalName

specifies the nested name of the property.

Throws

UnknownPropertyException if the property does not exist.

Throws

com::sun::star::uno::lang::IllegalArgumentException if aHierarchicalName is not a well-formed nested name for this hierarchy. An implementation is not required to detect this condition.

hasPropertyByHierarchicalName

Syntax

boolean hasPropertyByHierarchicalName (
string aHierarchicalName );

Description

Returns

true> if a property with the specified name exist; otherwise false is returned.

Parameter aHierarchicalName

specifies the name of the property.

Throws

com::sun::star::uno::lang::IllegalArgumentException if aHierarchicalName is not a well-formed nested name for this hierarchy. An implementation is not required to detect this condition.
Top of Page