|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.componentxml.PropertyLoader
Parses "properties" Elements into maps associating property
names with instantiated property values.
| Method Summary | |
Style |
createStyle(org.w3c.dom.Element propertiesElement,
java.lang.String type)
Parses a "properties" Element and returns a
Style mapping between property names and values. |
static PropertyLoader |
forClassLoader(java.lang.ClassLoader classLoader)
Creates or retrieves a PropertyLoader. |
java.lang.Object |
getPropertyValue(java.lang.Class objectClass,
java.lang.Class propertyClass,
org.w3c.dom.Element propertyElement)
Retrieves a property value from an property element. |
PropertyXmlPeer |
getPropertyXmlPeer(java.lang.Class propertyClass)
Returns the PropertyXmlPeer for the given property class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static PropertyLoader forClassLoader(java.lang.ClassLoader classLoader)
PropertyLoader.
classLoader - the ClassLoader to use for
dynamically loading property classes
PropertyLoader
public Style createStyle(org.w3c.dom.Element propertiesElement,
java.lang.String type)
throws ComponentXmlException
Element and returns a
Style mapping between property names and values.
propertiesElement - the properties Element to be
parsedtype - the fully-qualified component type name
ComponentXmlException
public java.lang.Object getPropertyValue(java.lang.Class objectClass,
java.lang.Class propertyClass,
org.w3c.dom.Element propertyElement)
throws InvalidPropertyException
objectClass - the object containing the propertypropertyClass - the class of the propertypropertyElement - the property element to analyze
InvalidPropertyExceptionpublic PropertyXmlPeer getPropertyXmlPeer(java.lang.Class propertyClass)
PropertyXmlPeer for the given property class.
propertyClass - the property class
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||