|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Accessor interface for Url Generator IAccessor should be implemented by so called contexts so that they can be used by the UrlTemplateProcessor. A context in this connection is just a set of properties (Hashtable) containing name-value-pairs within the scope of the context (the scope is identified by the id of the context). A context-value can either be another context (nested context; i.e. an IAccessor) or a leaf property. Copyright (c) SAP Portals Europe GmbH 2001
| Method Summary | |
IAccessor |
get(java.lang.String id)
returns the IAccessor member which key equals to id of the current context which must be another (nested) context |
java.lang.String |
getContextName()
Returns the name of the context |
java.lang.String |
getTerminal(java.lang.String id,
java.util.Locale loc)
returns the String value for a leaf property for locale loc |
void |
setContextName(java.lang.String newName)
sets the name of the context |
| Method Detail |
public java.lang.String getContextName()
public void setContextName(java.lang.String newName)
newName - new name of the context
public IAccessor get(java.lang.String id)
throws java.lang.NullPointerException
id - the id (i.e. key) of the nested contextNullPointerException, - if id is null
public java.lang.String getTerminal(java.lang.String id,
java.util.Locale loc)
throws java.lang.NullPointerException
id - the id (i.e. key) of the property (maybe local depended)loc - the desired localeNullPointerException, - if id is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||