
Package ca.uhn.fhir.model.primitive
Class Base64BinaryDt
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.api.BasePrimitive<byte[]>
-
- ca.uhn.fhir.model.primitive.Base64BinaryDt
-
- All Implemented Interfaces:
IDatatype
,IElement
,IIdentifiableElement
,IPrimitiveDatatype<byte[]>
,ISupportsUndeclaredExtensions
,Externalizable
,Serializable
,IBase
,IBaseDatatype
,IPrimitiveType<byte[]>
public class Base64BinaryDt extends BasePrimitive<byte[]>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Base64BinaryDt()
ConstructorBase64BinaryDt(byte[] theBytes)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
encode(byte[] theValue)
Subclasses must override to convert a "coerced" value into an encoded one.protected byte[]
parse(String theValue)
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one-
Methods inherited from class ca.uhn.fhir.model.api.BasePrimitive
equals, getValue, getValueAsString, hashCode, hasValue, isEmpty, readExternal, setValue, setValueAsString, toString, updateStringValue, writeExternal
-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Constructor Detail
-
Base64BinaryDt
public Base64BinaryDt()
Constructor
-
Base64BinaryDt
public Base64BinaryDt(byte[] theBytes)
Constructor
-
-
Method Detail
-
parse
protected byte[] parse(String theValue)
Description copied from class:BasePrimitive
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one- Specified by:
parse
in classBasePrimitive<byte[]>
- Parameters:
theValue
- Will not be null- Returns:
- May return null if the value does not correspond to anything
-
encode
protected String encode(byte[] theValue)
Description copied from class:BasePrimitive
Subclasses must override to convert a "coerced" value into an encoded one.- Specified by:
encode
in classBasePrimitive<byte[]>
- Parameters:
theValue
- Will not be null- Returns:
- May return null if the value does not correspond to anything
-
-