A container for all the javascript configuration information.
TODO - Need to add the logic to support the browser and javascript conditionals in the Class elements.
version: $Revision: 2139 $ author: Mike Bowler author: Chris Erskine author: Ahmed Ashour
classConfigEquals(String classname, ClassConfiguration config) Test to see if the supplied configuration matches for the parsed configuration for the named class
This is a method for testing.
getClassObject(String classname) Return the class for the given class name
Parameters: classname - The classname that you want the implementing class for.
Test to see if the supplied configuration matches for the parsed configuration for the named class
This is a method for testing.
Parameters: classname - - the parsed classname to test Parameters: config - - the expected configuration true if they match
Return the configuration that has all entries. No constraints are put on the returned
entries.
The instance containing all entries from the configuration file.
Get the method that implements the setter for the given property based upon the class object.
Parameters: clazz - The actual class to use as reference Parameters: functionName - The function to find the method for Method
Return the method that implements the given function in the class for the given class
Parameters: classname - The name of the class to work with Parameters: functionName - The function to find the method for Method
getHtmlJavaScriptMapping
public static synchronized Map getHtmlJavaScriptMapping()(Code)
Return an immutable map containing the html to javascript mappings. Keys are
java classes for the various html classes (ie HtmlInput.class) and the values
are the javascript class names (ie "Anchor").
the mappings
Return the instance that represents the configuration for the specified
BrowserVersion .
This method is synchronized to allow multithreaded access to the Javascript configuration.
Parameters: browserVersion - The BrowserVersion The instance for the specified BrowserVersion
Get the method that implements the getter for the given property based upon the class object.
Parameters: clazz - The actual class to use as reference Parameters: propertyName - The property to find the getter for Method
Return the method that implements the get function for in the class for the given class
Parameters: classname - The name of the class to work with Parameters: propertyName - The property to find the getter for Method
Get the method that implements the setter for the given property based upon the class object.
Parameters: clazz - The actual class to use as reference Parameters: propertyName - The property to find the getter for Method
Return the method that implements the set function in the class for the given class
Parameters: classname - The name of the class to work with Parameters: propertyName - The property to find the setter for Method
Load the configuration from a supplied Reader
Parameters: configurationReader - - A reader pointing to the configuration
propertyExists
public boolean propertyExists(Class clazz, String propertyName)(Code)
Check to see if there is an entry for the given property.
Parameters: clazz - The class the property is for Parameters: propertyName - The name of the property boolean True if the property exists
propertyExists
public boolean propertyExists(String classname, String propertyName)(Code)
Check to see if there is an entry for the given property.
Parameters: classname - The class the property is for Parameters: propertyName - The name of the property boolean True if the property exists