Package ca.uhn.fhir.rest.param.binder
Class QueryParameterTypeBinder
- java.lang.Object
-
- ca.uhn.fhir.rest.param.binder.QueryParameterTypeBinder
-
- All Implemented Interfaces:
IParamBinder<IQueryParameterType>
public final class QueryParameterTypeBinder extends Object implements IParamBinder<IQueryParameterType>
-
-
Constructor Summary
Constructors Constructor Description QueryParameterTypeBinder(Class<? extends IQueryParameterType> theType, List<Class<? extends IQueryParameterType>> theCompositeTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IQueryParameterOr<?>>encode(FhirContext theContext, IQueryParameterType theValue)TnewInstance()IQueryParameterTypeparse(FhirContext theContext, String theParamName, List<QualifiedParamList> theParams)
-
-
-
Constructor Detail
-
QueryParameterTypeBinder
public QueryParameterTypeBinder(Class<? extends IQueryParameterType> theType, List<Class<? extends IQueryParameterType>> theCompositeTypes)
-
-
Method Detail
-
encode
public List<IQueryParameterOr<?>> encode(FhirContext theContext, IQueryParameterType theValue) throws InternalErrorException
- Specified by:
encodein interfaceIParamBinder<IQueryParameterType>- Throws:
InternalErrorException
-
parse
public IQueryParameterType parse(FhirContext theContext, String theParamName, List<QualifiedParamList> theParams) throws InternalErrorException, InvalidRequestException
- Specified by:
parsein interfaceIParamBinder<IQueryParameterType>- Throws:
InternalErrorExceptionInvalidRequestException
-
newInstance
public T newInstance()
-
-