
Package ca.uhn.fhir.rest.param.binder
Class DateBinder
- java.lang.Object
-
- ca.uhn.fhir.rest.param.binder.DateBinder
-
- All Implemented Interfaces:
IParamBinder<Date>
public final class DateBinder extends Object
-
-
Constructor Summary
Constructors Constructor Description DateBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doEncode(Date theString)
protected Date
doParse(String theString)
List<IQueryParameterOr<?>>
encode(FhirContext theContext, T theString)
T
parse(FhirContext theContext, String theName, List<QualifiedParamList> theParams)
-
-
-
Constructor Detail
-
DateBinder
public DateBinder()
-
-
Method Detail
-
encode
public List<IQueryParameterOr<?>> encode(FhirContext theContext, T theString) throws InternalErrorException
- Specified by:
encode
in interfaceIParamBinder<T>
- Throws:
InternalErrorException
-
parse
public T parse(FhirContext theContext, String theName, List<QualifiedParamList> theParams) throws InternalErrorException, InvalidRequestException
- Specified by:
parse
in interfaceIParamBinder<T>
- Throws:
InternalErrorException
InvalidRequestException
-
-