|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.om.registry.base.BaseParameterStyle
Bean like implementation of the ParameterStyle interface suitable for Castor serialization.
ParameterStyle
Constructor Summary | |
BaseParameterStyle()
|
Method Summary | |
void |
addOption(StyleOption option)
Adds a new parameter style option |
java.lang.String |
getName()
Returns parameter style name |
StyleOption |
getOption(java.lang.String name)
Returns specific style option |
java.util.Vector |
getOptions()
Returns a vector of parameter style options |
java.lang.String |
getTemplate()
Returns optional parameter style template. |
boolean |
hasOption(java.lang.String name)
Returns true if specific style option exists |
void |
removeOption(java.lang.String name)
Remove specific parameter style option |
void |
setName(java.lang.String value)
Sets the parameter style name |
void |
setOptions(java.util.Vector options)
Sets parameter style options to a vector of options |
void |
setTemplate(java.lang.String value)
Sets the optional parameter style template |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseParameterStyle()
Method Detail |
public java.lang.String getName()
ParameterStyle
getName
in interface ParameterStyle
public void setName(java.lang.String value)
ParameterStyle
setName
in interface ParameterStyle
value
- public java.lang.String getTemplate()
ParameterStyle
getTemplate
in interface ParameterStyle
public void setTemplate(java.lang.String value)
ParameterStyle
setTemplate
in interface ParameterStyle
value
- public java.util.Vector getOptions()
ParameterStyle
getOptions
in interface ParameterStyle
public StyleOption getOption(java.lang.String name)
ParameterStyle
getOption
in interface ParameterStyle
name
-
public void addOption(StyleOption option)
ParameterStyle
addOption
in interface ParameterStyle
option
- to addpublic void removeOption(java.lang.String name)
ParameterStyle
removeOption
in interface ParameterStyle
name
- of style optionpublic void setOptions(java.util.Vector options)
ParameterStyle
setOptions
in interface ParameterStyle
options
- public boolean hasOption(java.lang.String name)
ParameterStyle
hasOption
in interface ParameterStyle
name
- of the option
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |