|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.create.AbstractCreator
public abstract class AbstractCreator
A simple implementation of the basic parts of Creator
| Field Summary |
|---|
| Fields inherited from interface org.directwebremoting.extend.Creator |
|---|
APPLICATION, PAGE, REQUEST, SCRIPT, SESSION |
| Constructor Summary | |
|---|---|
AbstractCreator()
|
|
| Method Summary | |
|---|---|
protected static void |
checkScope(java.lang.String cscope)
Is the given scope valid? |
java.lang.String |
getJavascript()
How is this creator refered to in Javascript land? |
java.lang.String |
getScope()
Each Creator creates objects with a given scope. |
boolean |
isCacheable()
Is the class behind the Creator likely to change over time? |
void |
setCacheable(boolean cacheable)
|
void |
setJavascript(java.lang.String javascript)
|
void |
setProperties(java.util.Map params)
DefaultConfiguration is done via access to the DOM Element. |
void |
setScope(java.lang.String scope)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.directwebremoting.extend.Creator |
|---|
getInstance, getType |
| Constructor Detail |
|---|
public AbstractCreator()
| Method Detail |
|---|
public void setProperties(java.util.Map params)
throws java.lang.IllegalArgumentException
Creator
setProperties in interface Creatorparams - The map of paramters to configure the creator
java.lang.IllegalArgumentException - If the config data in the Element is invalidpublic java.lang.String getJavascript()
Creator
getJavascript in interface Creatorpublic void setJavascript(java.lang.String javascript)
javascript - The javascript name to set.public void setScope(java.lang.String scope)
scope - Set the scope.public java.lang.String getScope()
Creator
getScope in interface Creatorpublic boolean isCacheable()
Creator
isCacheable in interface Creatorpublic void setCacheable(boolean cacheable)
cacheable - Whether or not to cache the script.protected static void checkScope(java.lang.String cscope)
cscope - The scope string to matchpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||