public interface URLTemplate
| Modifier and Type | Method and Description |
|---|---|
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
|
List<String> getRequiredParameters()
List<String> getOptionalParameters()
boolean isParameterRequired(String name) throws NonExistentParameterException, Exception
name - The qualified name of the parameterNonExistentParameterException - If the parameter is not found among the parameters contained in the templateException - In case of other errorboolean hasParameter(String name)
name - The qualified name of the parameterString getTemplate()
Copyright © 2014. All Rights Reserved.