|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.server.csw.provider.components.ValidationHelper
public class ValidationHelper
Provides utilities supporting request validation.
Constructor Summary | |
---|---|
ValidationHelper()
Default constructor |
Method Summary | |
---|---|
String |
negotiateValue(ISupportedValues supported,
String locator,
String[] parsed,
boolean required)
Negotiates a requested parameter value. |
String |
validateValue(ISupportedValues supported,
String locator,
String[] parsed,
boolean required)
Validates a requested parameter value. |
String |
validateValue(String locator,
String[] parsed,
boolean required)
Validates a requested parameter value. |
StringSet |
validateValues(ISupportedValues supported,
String locator,
String[] parsed,
boolean required)
Validates a collection of requested parameter values. |
StringSet |
validateValues(String locator,
String[] parsed,
boolean required)
Populates a collection of requested parameter values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationHelper()
Method Detail |
---|
public String negotiateValue(ISupportedValues supported, String locator, String[] parsed, boolean required) throws OwsException
supported
- the supported valueslocator
- the OwsException locatorparsed
- the list of parsed valuesrequired
- true
Returns:OwsException
- if validation failspublic String validateValue(String locator, String[] parsed, boolean required) throws OwsException
locator
- the OwsException locatorparsed
- the list of parsed valuesrequired
- true
Returns:OwsException
- if validation failspublic String validateValue(ISupportedValues supported, String locator, String[] parsed, boolean required) throws OwsException
supported
- the supported valueslocator
- the OwsException locatorparsed
- the list of parsed valuesrequired
- true
Returns:OwsException
- if validation failspublic StringSet validateValues(String locator, String[] parsed, boolean required) throws OwsException
locator
- the OwsException locatorparsed
- the parsed valuesrequired
- true
Returns:OwsException
- if validation failspublic StringSet validateValues(ISupportedValues supported, String locator, String[] parsed, boolean required) throws OwsException
supported
- the supported valueslocator
- the OwsException locatorparsed
- the parsed valuesrequired
- true
Returns:OwsException
- if validation fails
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |