Class BaseFormatter
java.lang.Object
org.openxava.formatters.BaseFormatter
- All Implemented Interfaces:
IFormatter
- Direct Known Subclasses:
IconListFormatter
Base formatter that allow to access to context object
in current module.
- Author:
- Javier Paniza
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectGet a object from the context of the current module.protected ObjectGet a object from the context of the current module.protected IntegergetInteger(javax.servlet.http.HttpServletRequest request, String name) Get a Integer object from the context of the current module.protected StringGet a String object from the context of the current module.protected voidPut a object in the context of the current module.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IFormatter
format, parse
-
Constructor Details
-
BaseFormatter
public BaseFormatter()
-
-
Method Details
-
put
protected void put(javax.servlet.http.HttpServletRequest request, String name, Object value) throws XavaException Put a object in the context of the current module.- Throws:
XavaException
-
get
protected Object get(javax.servlet.http.HttpServletRequest request, String name) throws XavaException Get a object from the context of the current module.- Throws:
XavaException
-
get
protected Object get(javax.servlet.http.HttpServletRequest request, String name, String className) throws XavaException Get a object from the context of the current module.- Throws:
XavaException
-
getString
protected String getString(javax.servlet.http.HttpServletRequest request, String name) throws XavaException Get a String object from the context of the current module.- Throws:
XavaException
-
getInteger
protected Integer getInteger(javax.servlet.http.HttpServletRequest request, String name) throws XavaException Get a Integer object from the context of the current module.- Throws:
XavaException
-