Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 2054

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Interface XLayerHandler</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="XLayerHandler-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td>
<td class="navisub">Attributes' Summary</td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td>
<td class="navisub">Attributes' Details</td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">configuration</a> :: <a href="module-ix.html" class="namechain">backend</a> :: </p>
</td>
</tr>
<tr>
<td class="title">interface XLayerHandler</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>receives a description of a configuration layer 
 as a sequence of events.

 </dd>
<dt><b>Since </b></dt>
<dd>OpenOffice 1.1.2</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Methods' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#startLayer">startLayer</a></td>
<td class="imsum_right">receives notification that a layer description is started
 for a component.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#endLayer">endLayer</a></td>
<td class="imsum_right">receives notification that a layer description is complete.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#overrideNode">overrideNode</a></td>
<td class="imsum_right">receives notification that a description of a node override is started.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addOrReplaceNode">addOrReplaceNode</a></td>
<td class="imsum_right">receives notification that a new item is started.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addOrReplaceNodeFromTemplate">addOrReplaceNodeFromTemplate</a></td>
<td class="imsum_right">receives notification that a new item based on a particular template 
 is started.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#endNode">endNode</a></td>
<td class="imsum_right">receives notification that a node description is complete.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#dropNode">dropNode</a></td>
<td class="imsum_right">receives notification that a node is dropped from a set. 

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#overrideProperty">overrideProperty</a></td>
<td class="imsum_right">receives notification that an existing property is modified.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setPropertyValue">setPropertyValue</a></td>
<td class="imsum_right">receives notification that the value of the current property 
 is overridden. .

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setPropertyValueForLocale">setPropertyValueForLocale</a></td>
<td class="imsum_right">receives notification that the value of the current localized property 
 is overridden for a specific locale .

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#endProperty">endProperty</a></td>
<td class="imsum_right">receives notification that a property description is complete.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addProperty">addProperty</a></td>
<td class="imsum_right">receives notification that a property having a <b>void</b> value is added 
 to the current node. 

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addPropertyWithValue">addPropertyWithValue</a></td>
<td class="imsum_right">receives notification that a property having a non-<b>void</b> value 
 is added to the current node. 

 &nbsp;</td>
</tr>
</table>
<a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Methods' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="startLayer" class="membertitle">startLayer</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>startLayer</b>()</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a layer description is started
 for a component.

 </dd>
<dd><p> Subsequent calls describe the contents of the layer
 until a matching call to <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#endLayer">endLayer()</a>
 is encountered.
 </p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 if there is an unfinished layer in progress

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="endLayer" class="membertitle">endLayer</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>endLayer</b>()</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a layer description is complete.

 </dd>
<dd><p> Must match a previous call to <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#startLayer">startLayer()</a>.
 </p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if invalid data is detected in the layer</li>
 <li>if there is a unfinished subnode in progress</li>
 <li>if no layer is started at all</li> 
 <li>if the layer tries to override read-only or final data</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="overrideNode" class="membertitle">overrideNode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>overrideNode</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;aName,</td>
</tr>
<tr>
<td/><td valign="top">[in] short</td>
<td valign="bottom">&nbsp;aAttributes,</td>
</tr>
<tr>
<td/><td valign="top">[in] boolean</td>
<td valign="bottom">&nbsp;bClear )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a description of a node override is started.

 </dd>
<dd><p> Subsequent calls describe overrides to properties and members 
 or items of the node until a matching call to 
 <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#endNode">endNode()</a>is encountered.
 </p>

 </dd>
<dt><b>Parameter aName</b></dt>
<dd>specifies the name of the node.

 </dd>
<dt><b>Parameter aAttributes</b></dt>
<dd>specifies attribute values to be applied to the node.

 <p> The value is a combination of 
 <a href="NodeAttribute.html">NodeAttribute</a> flags.
 </p>
 <p> The attributes are combined cumulatively with those 
 set on lower layers.
 </p>

 </dd>
<dt><b>Parameter bClear</b></dt>
<dd>if <b>true</b>, specifies that the node should be cleared to an empty 
 state by removing all non-mandatory children from lower layers prior
 to applying the overrides.

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if there isn't a layer in progress</li>
 <li>if there already was a change to that node</li>
 <li>if there is no node with that name</li>
 <li>if the node is marked read-only in a lower layer</li>
 <li>if the name is not a valid node name</li>
 <li>if the attributes are not valid for the node</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="NodeAttribute.html">NodeAttribute</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addOrReplaceNode" class="membertitle">addOrReplaceNode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>addOrReplaceNode</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;aName,</td>
</tr>
<tr>
<td/><td valign="top">[in] short</td>
<td valign="bottom">&nbsp;aAttributes )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a new item is started.

 </dd>
<dd><p> The current node must be a set and 
 a preexisting item (if any) must be removeable.
 </p>
 <p> The new item will be created from the default template
 of the set.
 </p>
 <p> Subsequent calls describe the difference from the template
 of properties and members or items of the node until 
 a matching call to <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#endNode">endNode()</a> 
 is encountered.
 </p>

 </dd>
<dt><b>Parameter aName</b></dt>
<dd>specifies the name of the item.

 </dd>
<dt><b>Parameter aAttributes</b></dt>
<dd>specifies attribute values to be applied to the new node.

 <p> The value is a combination of 
 <a href="NodeAttribute.html">NodeAttribute</a> flags. Note that
 <a href="NodeAttribute.html">NodeAttribute</a>::<a href="NodeAttribute.html#FUSE">FUSE</a> has an impact on the
 semantics of this method.
 </p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if there isn't a set node in progress currently</li>
 <li>if there already was a change to a node of that name</li>
 <li>if the template for the new node is not found</li>
 <li>if an item of that name on a lower layer is not removeable</li>
 <li>if the name is not a valid item name</li> 
 <li>if the attributes are not valid for the node</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="NodeAttribute.html">NodeAttribute</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addOrReplaceNodeFromTemplate" class="membertitle">addOrReplaceNodeFromTemplate</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>addOrReplaceNodeFromTemplate</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;aName,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="TemplateIdentifier.html">TemplateIdentifier</a></td>
<td valign="bottom">&nbsp;aTemplate,</td>
</tr>
<tr>
<td/><td valign="top">[in] short</td>
<td valign="bottom">&nbsp;aAttributes )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a new item based on a particular template 
 is started.

 </dd>
<dd><p> The current node must be a set and 
 a preexisting item (if any) must be removeable.
 </p>
 <p> Subsequent calls describe the difference from the template
 of properties and members or items of the node until 
 a matching call to <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#endNode">endNode()</a> 
 is encountered.
 </p>

 </dd>
<dt><b>Parameter aName</b></dt>
<dd>specifies the name of the item.

 </dd>
<dt><b>Parameter aTemplate</b></dt>
<dd>specifies the template to use for the new node

 </dd>
<dt><b>Parameter aAttributes</b></dt>
<dd>specifies attribute values to be applied to the new node.

 <p> The value is a combination of 
 <a href="NodeAttribute.html">NodeAttribute</a> flags. Note that
 <a href="NodeAttribute.html">NodeAttribute</a>::<a href="NodeAttribute.html#FUSE">FUSE</a> has an impact on the
 semantics of this method.
 </p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if there isn't a set node in progress currently</li>
 <li>if there already was a change to a node of that name</li>
 <li>if the template for the new node is not found</li>
 <li>if the template is not a valid item type for the containing set</li>
 <li>if an item of that name on a lower layer is not removeable</li>
 <li>if the name is not a valid item name</li>
 <li>if the attributes are not valid for the node</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="NodeAttribute.html">NodeAttribute</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="endNode" class="membertitle">endNode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>endNode</b>()</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a node description is complete.

 </dd>
<dd><p> Must match the last open call to 
 <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#overrideNode">overrideNode()</a>, 
 <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#addOrReplaceNode">addOrReplaceNode()</a> or
 <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#addOrReplaceNodeFromTemplate">addOrReplaceNodeFromTemplate()</a>.
 </p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if invalid data is detected in the node</li>
 <li>if no node is started at all</li> 
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="dropNode" class="membertitle">dropNode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>dropNode</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;aName )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a node is dropped from a set. 

 </dd>
<dd><p> The current node must be a set and 
 the item must be removeable.
 </p>

 </dd>
<dt><b>Parameter aName</b></dt>
<dd>specifies the name of the node.

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if there isn't a set node in progress currently</li>
 <li>if there already was a change to a node of that name</li>
 <li>if there is no item with that name</li>
 <li>if the item is not removeable</li>
 <li>if the name is not a valid node name</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="overrideProperty" class="membertitle">overrideProperty</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>overrideProperty</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;aName,</td>
</tr>
<tr>
<td/><td valign="top">[in] short</td>
<td valign="bottom">&nbsp;aAttributes,</td>
</tr>
<tr>
<td/><td valign="top">[in] type</td>
<td valign="bottom">&nbsp;aType,</td>
</tr>
<tr>
<td/><td valign="top">[in] boolean</td>
<td valign="bottom">&nbsp;bClear )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that an existing property is modified.

 </dd>
<dd><p> Subsequent calls describe new value(s) for the property until a 
 matching call to <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#endProperty">endProperty()</a> 
 is encountered.
 </p>

 </dd>
<dt><b>Parameter aName</b></dt>
<dd>specifies the name of the property.

 </dd>
<dt><b>Parameter aAttributes</b></dt>
<dd>specifies the new attributes of the property.

 <p> The value is a combination of 
 <a href="NodeAttribute.html">NodeAttribute</a> flags.
 </p>
 <p> The attributes are combined cumulatively with those 
 set on lower layers.
 </p>

 </dd>
<dt><b>Parameter aType</b></dt>
<dd>specifies the type of the property.

 <p> This must be the same type as is already defined in the schema 
 or lower layers, unless the previous type was unspecified
 (as indicated by 
 <b>TypeClass::ANY</b>.)
 </p>
 <p> A <b>void</b> type indicates that the type is unspecified 
 in this layer. 
 In this case any subsequent value may be of a generic type 
 (e.g. <code>string</code> or - for list values - 
 <code>string</code>[].) Such values may be 
 converted to the type defined in the schema by 
 the implementation.
 </p>

 </dd>
<dt><b>Parameter bClear</b></dt>
<dd>if <b>true</b>, specifies that the property should be cleared to an empty 
 state by discarding all values from lower layers prior
 to applying the overrides. 

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if there isn't a group or extensible node in progress currently</li> 
 <li>if there already was a change to a property of that name</li>
 <li>if there is no property with that name</li>
 <li>if the property is read-only</li>
 <li>if the type does not match the type of the property</li>
 <li>if a type is missing and cannot be determined otherwise</li>
 <li>if the name is not a valid property name</li>
 <li>if the attributes are not valid for the property</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="NodeAttribute.html">NodeAttribute</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setPropertyValue" class="membertitle">setPropertyValue</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>setPropertyValue</b>(</td>
<td valign="top">[in] any</td>
<td valign="bottom">&nbsp;aValue )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that the value of the current property 
 is overridden. .

 </dd>
<dt><b>Parameter aValue</b></dt>
<dd>specifies the new value of the property.

 <p> The value must match the type of the current property. 
 If the property does not have the 
 <b>SchemaAttribute::REQUIRED</b> flag set,
 the value can be <b>void</b>.
 </p>
 <p> If the current property is localized, this value applies 
 to the default locale.
 </p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if there isn't a property in progress currently</li>
 <li>if there already was a change to the value of that property</li>
 <li>if the value does not have the proper type</li> 
 <li>if the value is not valid for the property</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="NodeAttribute.html">NodeAttribute</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setPropertyValueForLocale" class="membertitle">setPropertyValueForLocale</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>setPropertyValueForLocale</b>(</td>
<td valign="top">[in] any</td>
<td valign="bottom">&nbsp;aValue,</td>
</tr>
<tr>
<td/><td valign="top">[in] string</td>
<td valign="bottom">&nbsp;aLocale )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that the value of the current localized property 
 is overridden for a specific locale .

 </dd>
<dt><b>Parameter aValue</b></dt>
<dd>specifies the new value of the property.

 <p> The value must match the type of the current property. 
 If the property does not have the 
 <b>SchemaAttribute::REQUIRED</b> flag set,
 the value can be <b>void</b>.
 </p>

 </dd>
<dt><b>Parameter aLocale</b></dt>
<dd>specifies the locale this value should apply to.

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if there isn't a property in progress currently</li>
 <li>if the current property isn't localized</li>
 <li>if there already was a change to the property for that locale</li>
 <li>if the value does not have the proper type</li>
 <li>if the value is not valid for the property</li>
 <li>if the locale is not a valid locale</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="NodeAttribute.html">NodeAttribute</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="endProperty" class="membertitle">endProperty</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>endProperty</b>()</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a property description is complete.

 </dd>
<dd><p> Must match an open call to 
 <a href="XLayerHandler.html">XLayerHandler</a>::<a href="XLayerHandler.html#overrideProperty">overrideProperty()</a>, 
 </p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if invalid data is detected in the property</li>
 <li>if no property is started at all</li> 
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addProperty" class="membertitle">addProperty</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>addProperty</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;aName,</td>
</tr>
<tr>
<td/><td valign="top">[in] short</td>
<td valign="bottom">&nbsp;aAttributes,</td>
</tr>
<tr>
<td/><td valign="top">[in] type</td>
<td valign="bottom">&nbsp;aType )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a property having a <b>void</b> value is added 
 to the current node. 

 </dd>
<dd><p> The current node must be extensible.
 </p>

 </dd>
<dt><b>Parameter aName</b></dt>
<dd>specifies the name of the new property.

 </dd>
<dt><b>Parameter aAttributes</b></dt>
<dd>specifies the attributes of the new property.

 <p> The value is a combination of 
 <a href="NodeAttribute.html">NodeAttribute</a> flags and may also contain the 
 <b>SchemaAttribute::REQUIRED</b> flag.
 </p>
 <p> <b>NodeAttribute::MANDATORY</b> need not be set, 
 as dynamically added properties always are mandatory 
 in subsequent layers.
 </p>

 </dd>
<dt><b>Parameter aType</b></dt>
<dd>specifies the type of the new property.

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if there isn't an extensible node in progress currently</li>
 <li>if a property with that name already exists</li>
 <li>if the specified type is not allowed for a property</li>
 <li>if the name is not a valid property name</li>
 <li><li>if the attributes are not valid for the property</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="SchemaAttribute.html">SchemaAttribute</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addPropertyWithValue" class="membertitle">addPropertyWithValue</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>addPropertyWithValue</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;aName,</td>
</tr>
<tr>
<td/><td valign="top">[in] short</td>
<td valign="bottom">&nbsp;aAttributes,</td>
</tr>
<tr>
<td/><td valign="top">[in] any</td>
<td valign="bottom">&nbsp;aValue )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MalformedDataException.html">MalformedDataException</a>,<br>
::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/WrappedTargetException.html">WrappedTargetException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>receives notification that a property having a non-<b>void</b> value 
 is added to the current node. 

 </dd>
<dd><p> The current node must be extensible.
 </p>

 </dd>
<dt><b>Parameter aName</b></dt>
<dd>specifies the name of the new property.

 </dd>
<dt><b>Parameter aAttributes</b></dt>
<dd>specifies the attributes of the new property.

 <p> The value is a combination of 
 <a href="NodeAttribute.html">NodeAttribute</a> flags and may also contain the 
 <b>SchemaAttribute::REQUIRED</b> flag.
 </p>
 </p>
 <p> <b>NodeAttribute::MANDATORY</b> need not be set, 
 as dynamic properties always are mandatory 
 in subsequent layers.
 </p>

 </dd>
<dt><b>Parameter aValue</b></dt>
<dd>specifies the value of the new property.

 <p> The value also determines the type. 
 Therefore the value must not be <b>void</b>.
 </p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::configuration::backend::MalformedDataException
 <ul>
 <li>if there isn't an extensible node in progress currently</li>
 <li>if a property with that name already exists</li>
 <li>if the type of the value is not an allowed type
 or if the value is <b>void</b></li>
 <li>if the name is not a valid property name</li>
 <li>if the value is not valid for the property</li>
 <li>if the attributes are not valid for the property</li>
 </ul>
 <p><em>Not every implementation can detect each condition</em></p>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::WrappedTargetException
 if an error occurs processing the event.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="SchemaAttribute.html">SchemaAttribute</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>