|
Forward Computing and Control Pty. Ltd. WebStringTemplate V1.5.0 2004/1/7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Interface for WebStringTemplate Filters.
| Method Summary | |
java.lang.Object |
getObject()
returns the object being filtered, null if not set. |
java.lang.String |
getPath()
returns the attribute name path of the object in this filter, or null if not set |
IWSTFilter |
newInstance()
Returns a new instance of this filter class, usually a shallow clone with null object and path. |
void |
setObject(java.lang.Object obj)
sets the object being filtered. |
void |
setPath(java.lang.String newPath)
sets the attribute name path of the object in this fiter, null if not set |
java.lang.String |
toString()
returns the filtered string of this object or "" (empty string) if object null. |
| Method Detail |
public IWSTFilter newInstance()
public java.lang.Object getObject()
public void setObject(java.lang.Object obj)
obj - the object to be filtered
java.lang.IllegalStateException - if the object is this filter itself or if it wraps this filter.public java.lang.String toString()
obj.toString(), return the error message as the string.
obj.toString() throws an exception, then the exception message is returned.public java.lang.String getPath()
public void setPath(java.lang.String newPath)
newPath - The new path value
java.lang.IllegalArgumentException - if not null and not a valid attribute name
|
Forward Computing and Control Pty. Ltd. WebStringTemplate V1.5.0 2004/1/7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||