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 StringdoEncode(Date theString)protected DatedoParse(String theString)List<IQueryParameterOr<?>>encode(FhirContext theContext, T theString)Tparse(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:
encodein interfaceIParamBinder<T>- Throws:
InternalErrorException
-
parse
public T parse(FhirContext theContext, String theName, List<QualifiedParamList> theParams) throws InternalErrorException, InvalidRequestException
- Specified by:
parsein interfaceIParamBinder<T>- Throws:
InternalErrorExceptionInvalidRequestException
-
-