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
Constructors Constructor Description QueryParameterOrBinder(Class<? extends IQueryParameterOr<?>> theType, List<Class<? extends IQueryParameterType>> theCompositeTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IQueryParameterOr<?>>encode(FhirContext theContext, IQueryParameterOr<?> theValue)TnewInstance()IQueryParameterOr<?>parse(FhirContext theContext, String theParamName, List<QualifiedParamList> theString)
-
-
-
Constructor Detail
-
QueryParameterOrBinder
public QueryParameterOrBinder(Class<? extends IQueryParameterOr<?>> theType, List<Class<? extends IQueryParameterType>> theCompositeTypes)
-
-
Method Detail
-
encode
public List<IQueryParameterOr<?>> encode(FhirContext theContext, IQueryParameterOr<?> theValue) throws InternalErrorException
- Specified by:
encodein interfaceIParamBinder<IQueryParameterOr<?>>- Throws:
InternalErrorException
-
parse
public IQueryParameterOr<?> parse(FhirContext theContext, String theParamName, List<QualifiedParamList> theString) throws InternalErrorException, InvalidRequestException
- Specified by:
parsein interfaceIParamBinder<IQueryParameterOr<?>>- Throws:
InternalErrorExceptionInvalidRequestException
-
newInstance
public T newInstance()
-
-