NextApp Echo2
v2.1.0

nextapp.echo2.app.componentxml.propertypeer
Class LayoutDataPeer

java.lang.Object
  extended by nextapp.echo2.app.componentxml.propertypeer.LayoutDataPeer
All Implemented Interfaces:
PropertyXmlPeer

public class LayoutDataPeer
extends java.lang.Object
implements PropertyXmlPeer

PropertyXmlPeer implementation for nextapp.echo2.app.LayoutData-derived properties.

This peer will load properties for arbitrary LayoutData implementations using class introspection and reflection. The implementation does not currently support the setting of indexed properties.


Constructor Summary
LayoutDataPeer()
           
 
Method Summary
 java.lang.Object getValue(java.lang.ClassLoader classLoader, java.lang.Class objectClass, org.w3c.dom.Element propertyElement)
          Translates an property represented as an DOM Element into a property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutDataPeer

public LayoutDataPeer()
Method Detail

getValue

public java.lang.Object getValue(java.lang.ClassLoader classLoader,
                                 java.lang.Class objectClass,
                                 org.w3c.dom.Element propertyElement)
                          throws InvalidPropertyException
Description copied from interface: PropertyXmlPeer
Translates an property represented as an DOM Element into a property value.

Specified by:
getValue in interface PropertyXmlPeer
Parameters:
classLoader - the ClassLoader to use for analyzing component/property data
objectClass - the Class of the object on which the property is being set
propertyElement - the <property> Element
Returns:
the property value
Throws:
InvalidPropertyException
See Also:
PropertyXmlPeer.getValue(java.lang.ClassLoader, java.lang.Class, org.w3c.dom.Element)

NextApp Echo2
v2.1.0