|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface URLTemplate
Interface of the URL template class that is used to construct parse OpenSearch query templates and expose their parameters
| Method Summary | |
|---|---|
List<String> |
getOptionalParameters()
Returns a list containing the qualified names of all optional parameters contained in the template |
List<String> |
getRequiredParameters()
Returns a list containing the qualified names of all required parameters contained in the template |
String |
getTemplate()
Returns the query template |
boolean |
hasParameter(String name)
Determines if the template contains a parameter with a given qualified name |
boolean |
isParameterRequired(String name)
Determines if a parameter with a given qualified name is a required parameter |
| Method Detail |
|---|
List<String> getRequiredParameters()
List<String> getOptionalParameters()
boolean isParameterRequired(String name)
throws NonExistentParameterException,
Exception
name - The qualified name of the parameter
NonExistentParameterException - If the parameter is not found among the parameters contained in the template
Exception - In case of other errorboolean hasParameter(String name)
name - The qualified name of the parameter
String getTemplate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||