|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.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 | |
|---|---|
java.lang.String |
getJavascript()
How is this creator referred 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? TODO: We should probably remove this. |
boolean |
isHidden()
Hidden creators do not show up from the outside world, the only way to call them is to know their name. |
void |
setCacheable(boolean cacheable)
|
void |
setHidden(boolean hidden)
|
void |
setJavascript(java.lang.String javascript)
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> 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 |
|---|
equals, 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<java.lang.String,java.lang.String> params)
throws java.lang.IllegalArgumentException
Creator
setProperties in interface Creatorparams - The map of parameters 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.Creator.isCacheable()public boolean isHidden()
Creatordebug=false, which prevents enumeration of
the exported classes. If a class is hidden then you can't ask for an
interface script even when you know it by name.
isHidden in interface Creatorpublic void setHidden(boolean hidden)
hidden - the new hidden status.isHidden()public java.lang.String toString()
toString in class java.lang.Object
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||