|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.objectset.ObjectSetHandlerTemplate
Class extends ObjectSetHandler
interface with
trivial implementations for most methods.-
It can be used by application to make application less dependent of future
extension of ObjectSetHandler
interface.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
private IxbElement |
xmlDescription
|
Constructor Summary | |
ObjectSetHandlerTemplate()
|
Method Summary | |
String |
getAppletClassName()
Get the associated java class name which interacts with the client for this ObjectSetHandler type, e.g. |
protected Locale |
getClientLocale()
|
String |
getId()
Get the identifier of this ObjectSetHandler type. |
abstract String |
getLocalizedDescription()
Get the localized description of this ObjectSetHandler
instance. |
private String |
getLocalizedMessageClass(IxbElement el)
|
private String |
getLocalizedMessageKey(IxbElement el)
|
String |
getLocalizedMessageWithoutParams(IxbElement el)
|
String |
getLocalizedMessageWithoutParams(IxbElement el,
Locale locale)
|
String |
getLocalizedMessageWithParams(IxbElement el,
String[] params)
|
String |
getLocalizedName()
Returns the localized name of the ObjectSetHandler type. |
String |
getLocalizedName(Locale locale)
Returns the localized name of the ObjectSetHandler type
for the specific Locale . |
abstract String |
getParametersAsString()
This method can be used only after setParametersAsString(String)
is called. |
void |
initialize(IxbElement xmlDescription)
Initialize this ObjectSetHandler instance. |
abstract void |
setParametersAsString(String params)
Save the value for this ObjectSetHandler instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private IxbElement xmlDescription
Constructor Detail |
public ObjectSetHandlerTemplate()
Method Detail |
public abstract void setParametersAsString(String params) throws WTException
ObjectSetHandler
instance. For
example, for ObjectSetGenerator
instance, this is the
object identifier of the seed object.
setParametersAsString
in interface ObjectSetHandler
params
-
WTException
public abstract String getParametersAsString() throws WTException
setParametersAsString(String)
is called.
getParametersAsString
in interface ObjectSetHandler
WTException
public abstract String getLocalizedDescription() throws WTException
ObjectSetHandler
instance. Usually it contains the localized information of this ObjectSetHandler
type as well as the parameter set from
setParametersAsString
. The import/export will try to
find the locale from the session context for localization purpose.
setParametersAsString(String)
is called.
getLocalizedDescription
in interface ObjectSetHandler
WTException
public void initialize(IxbElement xmlDescription) throws WTException
ObjectSetHandler
instance. Usually the parameter xmlDescription is corresponding to the XML files from server registry.
initialize
in interface ObjectSetHandler
xmlDescription
- The information for initialize this ObjectSetHandler
instance.
WTException
public String getId() throws WTException
ObjectSetHandler
type. The identifier is specified in the server registry.
getId
in interface ObjectSetHandler
WTException
public String getLocalizedName() throws WTException
ObjectSetHandler
type.
Locale
,
use the method
getLocalizedName(Locale locale)
.
getLocalizedName
in interface ObjectSetHandler
WTException
public String getLocalizedName(Locale locale) throws WTException
ObjectSetHandler
type
for the specific Locale
. Refer the server registry file
for details.
getLocalizedName
in interface ObjectSetHandler
locale
-
WTException
public String getAppletClassName() throws WTException
ObjectSetHandler
type, e.g. wt.clients.ixb.exp.NavigatorSearchDialog
.
See the registry file for details.
getAppletClassName
in interface ObjectSetHandler
WTException
public String getLocalizedMessageWithoutParams(IxbElement el) throws WTException
WTException
public String getLocalizedMessageWithoutParams(IxbElement el, Locale locale) throws WTException
WTException
public String getLocalizedMessageWithParams(IxbElement el, String[] params) throws WTException
WTException
protected Locale getClientLocale()
private String getLocalizedMessageKey(IxbElement el) throws WTException
WTException
private String getLocalizedMessageClass(IxbElement el) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |