|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopointng.stylesheet.CssPropertyPeerLoader
public class CssPropertyPeerLoader
CssPropertyPeerLoader finds and caches appropriate
CssPropertyPeer instances for a given property class. This
allows String values to be converted into Java object instances and vice
versa.
CssPropertyPeer| Method Summary | |
|---|---|
static CssPropertyPeerLoader |
forClassLoader(java.lang.ClassLoader classLoader)
Creates or retrieves a CssPropertyPeerLoader. |
java.lang.Object |
getObject(java.lang.ClassLoader classLoader,
java.lang.Class componentClass,
java.lang.Class propertyClass,
java.lang.String propertyValue,
int lineNo)
Retrieves a Java object value from an CSS property string. |
CssPropertyPeer |
getPropertyPeer(java.lang.Class propertyClass)
Returns the CssPropertyPeer for the given property class. |
java.lang.String |
getString(java.lang.ClassLoader classLoader,
java.lang.Class componentClass,
java.lang.Class propertyClass,
java.lang.Object propertyValue)
Retrieves a CSS property value string for a given Java object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CssPropertyPeerLoader forClassLoader(java.lang.ClassLoader classLoader)
CssPropertyPeerLoader.
classLoader - the ClassLoader to use for dynamically loading
property classes
CssPropertyPeerLoader
public java.lang.Object getObject(java.lang.ClassLoader classLoader,
java.lang.Class componentClass,
java.lang.Class propertyClass,
java.lang.String propertyValue,
int lineNo)
throws CssInvalidValueException
classLoader - -
the class loader in usecomponentClass - -
the object containing the propertypropertyClass - -
the class of the propertypropertyValue - -
the property value to analyze
InvalidPropertyException
CssInvalidValueException
public java.lang.String getString(java.lang.ClassLoader classLoader,
java.lang.Class componentClass,
java.lang.Class propertyClass,
java.lang.Object propertyValue)
throws CssInvalidValueException
classLoader - -
the class loader in usecomponentClass - the object containing the propertypropertyClass - -
the class of the propertypropertyValue - -
the property object value to analyze
InvalidPropertyException
CssInvalidValueExceptionpublic CssPropertyPeer getPropertyPeer(java.lang.Class propertyClass)
CssPropertyPeer for the given property class.
propertyClass - the property class
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||