Package ca.uhn.fhir.rest.param.binder
Class QueryParameterOrBinder
java.lang.Object
ca.uhn.fhir.rest.param.binder.QueryParameterOrBinder
- All Implemented Interfaces:
IParamBinder<IQueryParameterOr<?>>
public final class QueryParameterOrBinder
extends Object
implements IParamBinder<IQueryParameterOr<?>>
-
Constructor Summary
ConstructorDescriptionQueryParameterOrBinder
(Class<? extends IQueryParameterOr<?>> theType, List<Class<? extends IQueryParameterType>> theCompositeTypes) -
Method Summary
Modifier and TypeMethodDescriptionencode
(FhirContext theContext, IQueryParameterOr<?> theValue) parse
(FhirContext theContext, String theParamName, List<QualifiedParamList> theString)
-
Constructor Details
-
QueryParameterOrBinder
public QueryParameterOrBinder(Class<? extends IQueryParameterOr<?>> theType, List<Class<? extends IQueryParameterType>> theCompositeTypes)
-
-
Method Details
-
encode
public List<IQueryParameterOr<?>> encode(FhirContext theContext, IQueryParameterOr<?> theValue) throws InternalErrorException - Specified by:
encode
in interfaceIParamBinder<IQueryParameterOr<?>>
- Throws:
InternalErrorException
-
parse
public IQueryParameterOr<?> parse(FhirContext theContext, String theParamName, List<QualifiedParamList> theString) throws InternalErrorException, InvalidRequestException - Specified by:
parse
in interfaceIParamBinder<IQueryParameterOr<?>>
- Throws:
InternalErrorException
InvalidRequestException
-
newInstance
-