Package org.mwolff.command.sax
Class SaxParameterObject
- java.lang.Object
-
- org.mwolff.command.sax.SaxParameterObject
-
- All Implemented Interfaces:
GenericParameterObject
public class SaxParameterObject extends Object implements GenericParameterObject
-
-
Constructor Summary
Constructors Constructor Description SaxParameterObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String key)
Returns the object of the given key.Object
get(GlobalCommandConstants key)
String
getAsString(String key)
Returns the object of the given key as String.String
getAsString(GlobalCommandConstants key)
void
put(String key, Object value)
Saves an object to the key.void
put(GlobalCommandConstants key, Object value)
-
-
-
Method Detail
-
get
public Object get(String key)
Description copied from interface:GenericParameterObject
Returns the object of the given key.- Specified by:
get
in interfaceGenericParameterObject
- Parameters:
key
- The given key to return the value.- Returns:
- The value of the key
-
get
public Object get(GlobalCommandConstants key)
-
getAsString
public String getAsString(String key)
Description copied from interface:GenericParameterObject
Returns the object of the given key as String.- Specified by:
getAsString
in interfaceGenericParameterObject
- Parameters:
key
- The given key to return a value as String.- Returns:
- The value of the key as string.
-
getAsString
public String getAsString(GlobalCommandConstants key)
-
put
public void put(String key, Object value)
Description copied from interface:GenericParameterObject
Saves an object to the key.- Specified by:
put
in interfaceGenericParameterObject
- Parameters:
key
- the key.value
- the key.
-
put
public void put(GlobalCommandConstants key, Object value)
-
-