|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javawebparts.ajaxparts.taglib.config.AjaxErrorHandler
This class holds configuration information on an error handler.
Field Summary | |
private java.lang.String |
code
The HTTP response code this handler will handle. |
private boolean |
frozen
Flag: Is the configuration frozen? |
private static org.apache.commons.logging.Log |
log
Log instance. |
private java.lang.String |
type
The type of the handler (either the name of a custom handler, or a standard handler). |
Constructor Summary | |
AjaxErrorHandler()
|
Method Summary | |
void |
freeze()
Freezes the configuration of this object. |
java.lang.String |
getCode()
code accessor. |
java.lang.String |
getType()
type accessor. |
boolean |
isFrozen()
Returns true if this onject's config is frozen, false otherwise. |
void |
setCode(java.lang.String inCode)
name mutator. |
void |
setType(java.lang.String inType)
type mutator. |
java.lang.String |
toString()
Overriden toString method. |
private boolean |
validate()
This method is called when the object is frozen to ensure it is configured in a legal way. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static org.apache.commons.logging.Log log
private java.lang.String code
private java.lang.String type
private boolean frozen
Constructor Detail |
public AjaxErrorHandler()
Method Detail |
public void setCode(java.lang.String inCode)
inCode
- Code to set.public java.lang.String getCode()
public void setType(java.lang.String inType)
inType
- Type to set.public java.lang.String getType()
public void freeze()
public boolean isFrozen()
private boolean validate()
public 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 |