public class ParameterGroup
extends java.lang.Object
| Constructor and Description |
|---|
ParameterGroup(java.lang.String name,
java.lang.String descriptionMarkup)
Initialises a parameter group
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Parameter param)
Adds a parameter to this group
|
java.lang.String |
getName()
Returns the name of this parameter group
|
java.util.Vector<Parameter> |
getParameters()
Returns a vector of parameters within this group
|
boolean |
isSpecified(javax.servlet.http.HttpServletRequest request)
Returns true if all mandatory parameters within this group have been specified in the given request, otherwise false
|
public ParameterGroup(java.lang.String name,
java.lang.String descriptionMarkup)
name - the name of this parameter grouppublic void addParameter(Parameter param)
param - the parameter to addpublic java.lang.String getName()
public java.util.Vector<Parameter> getParameters()
public boolean isSpecified(javax.servlet.http.HttpServletRequest request)
request - the request to checkCopyright © 2012 David Milne. All Rights Reserved.