Moxi Media Inc.
<property> Discussion Forum

IMF Developer's Guide » Layer Configuration » <property>  

The <property> element is used in the layer elements to initialize a programmer defined property to the parent object within the XML configuration process. The property value can be retrieved from within a script as follows:

String value = layer.getProperty("propertyName");

Frequency Parent Elements (the <property> element is valid within):
PO+ <layer>
   

Frequency Description (in this context)
PO+ The <property> element may appear one or more times within the <layer> element in any order.
   

Attributes Description
name The identifier of the property. Required.
value The text value of the property. Required.
   

Example:

<layer name="Some Layer Name">
  <property name="Custodian" value="John Doe"/>
</layer>
Retrieval:
String custodian = layer.getProperty("custodian");