| java.lang.Object nextapp.echo2.app.componentxml.PropertyLoader
PropertyLoader | public class PropertyLoader (Code) | | Parses "properties" Element s into maps associating property
names with instantiated property values.
|
createStyle | public Style createStyle(Element propertiesElement, String type) throws ComponentXmlException(Code) | | Parses a "properties" Element and returns a
Style mapping between property names and values.
Parameters: propertiesElement - the properties Element to beparsed Parameters: type - the fully-qualified component type name a style representing the retrieved property names and values throws: ComponentXmlException - |
forClassLoader | public static PropertyLoader forClassLoader(ClassLoader classLoader)(Code) | | Creates or retrieves a PropertyLoader .
Parameters: classLoader - the ClassLoader to use for dynamically loading property classes the PropertyLoader |
getPropertyValue | public Object getPropertyValue(Class objectClass, Class propertyClass, Element propertyElement) throws InvalidPropertyException(Code) | | Retrieves a property value from an property element.
Parameters: objectClass - the object containing the property Parameters: propertyClass - the class of the property Parameters: propertyElement - the property element to analyze the property value throws: InvalidPropertyException - |
getPropertyXmlPeer | public PropertyXmlPeer getPropertyXmlPeer(Class propertyClass)(Code) | | Returns the PropertyXmlPeer for the given property class.
Parameters: propertyClass - the property class the XML parsing peer |
|
|