|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.Web.PIDSHandler
Static class to parse the Servlet request into the appropriate PIDS data hierarchy with the ability to filter out certain of the request keys and assuming that elements are separated by a defined character
| Constructor Summary | |
PIDSHandler()
Default constructor |
|
PIDSHandler(PidsFields fields)
Constructor for initializing filters |
|
| Method Summary | |
void |
addFilter(java.lang.String filt)
Add filter to list |
void |
addFilters(java.lang.String[] filts)
add filter list for keys in request object skip all keys containing substring of filter |
static PIDSHandler |
getInstance()
get PIDSHandler static reference |
void |
process(HttpServletRequest request,
Pids pid,
java.lang.String sep)
Process the request turning the items into the appropriate Content tree |
void |
setPidsField(PidsFields fields)
set the fields |
void |
setUpperCase(boolean upper)
set the case of the PIDS queries |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PIDSHandler()
public PIDSHandler(PidsFields fields)
| Method Detail |
public static PIDSHandler getInstance()
public void setPidsField(PidsFields fields)
fields - public void setUpperCase(boolean upper)
upper - is the boolean flag to determine how the case is to be handled.public void addFilters(java.lang.String[] filts)
public void addFilter(java.lang.String filt)
public void process(HttpServletRequest request,
Pids pid,
java.lang.String sep)
request - contains the detailed input data from the web clientpid - is the Pids object to which request data is to be insertedsep - is the hierarchy delimiter in the input
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||