
Package org.hl7.fhir.r5.model
Class XhtmlType
java.lang.Object
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Externalizable
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IPrimitiveType<String>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
protected String
Subclasses must override to convert a "coerced" value into an encoded one.fhirType()
getPlace()
Base[]
getProperty
(int hash, String name, boolean checkValid) getValue()
org.hl7.fhir.utilities.xhtml.XhtmlNode
getXhtml()
return XHTML if this is an XHTML node, else nullboolean
boolean
protected void
listChildren
(List<Property> result) protected String
Subclasses must override to convert an encoded representation of this datatype into a "coerced" onevoid
void
setProperty
(int hash, String name, Base value) Methods inherited from class org.hl7.fhir.r5.model.PrimitiveType
asStringValue, equalsDeep, equalsShallow, forceStringValue, fpValue, fromStringValue, getTypesForProperty, getValueAsString, hashCode, hasValue, isEmpty, makeProperty, matches, readExternal, setProperty, setValue, setValueAsString, toString, typedCopy, updateStringValue, writeExternal
Methods inherited from class org.hl7.fhir.r5.model.DataType
copyValues
Methods inherited from class org.hl7.fhir.r5.model.Element
addChild, addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, getNamedProperty, getStandardsStatus, hasExtension, hasExtension, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdElement, setStandardsStatus
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasType, hasUserData, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isResource, listChildrenByName, listChildrenByName, removeChild, setCopyUserData, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
-
Constructor Details
-
XhtmlType
-
XhtmlType
public XhtmlType()
-
-
Method Details
-
fhirType
-
listChildren
- Overrides:
listChildren
in classElement
-
getIdBase
-
setIdBase
-
copy
- Specified by:
copy
in classPrimitiveType<String>
-
getValue
- Specified by:
getValue
in interfaceorg.hl7.fhir.instance.model.api.IPrimitiveType<String>
- Overrides:
getValue
in classPrimitiveType<String>
-
getXhtml
Description copied from class:Base
return XHTML if this is an XHTML node, else null -
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classPrimitiveType<String>
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classPrimitiveType<String>
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
primitiveValue
- Overrides:
primitiveValue
in classPrimitiveType<String>
-
isPrimitive
- Overrides:
isPrimitive
in classPrimitiveType<String>
-
hasPrimitiveValue
- Overrides:
hasPrimitiveValue
in classPrimitiveType<String>
-
encode
Description copied from class:PrimitiveType
Subclasses must override to convert a "coerced" value into an encoded one.- Specified by:
encode
in classPrimitiveType<String>
- Parameters:
theValue
- Will not be null- Returns:
- May return null if the value does not correspond to anything
-
parse
Description copied from class:PrimitiveType
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one- Specified by:
parse
in classPrimitiveType<String>
- Parameters:
theValue
- Will not be null- Returns:
- May return null if the value does not correspond to anything
-
getPlace
-
setPlace
-