Package org.hl7.fhir.r4.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:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()protected StringSubclasses 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.XhtmlNodegetXhtml()booleanbooleanprotected voidlistChildren(List<Property> result) protected StringSubclasses must override to convert an encoded representation of this datatype into a "coerced" onevoidvoidsetProperty(int hash, String name, Base value) setXhtml(org.hl7.fhir.utilities.xhtml.XhtmlNode node) return set XHTML if this is an XHTML node, else errorMethods inherited from class org.hl7.fhir.r4.model.PrimitiveType
asStringValue, equalsDeep, equalsShallow, forceStringValue, fpValue, fromStringValue, getTypesForProperty, getValueAsString, hashCode, hasValue, isEmpty, makeProperty, readExternal, removeChild, setProperty, setValue, setValueAsString, toString, typedCopy, updateStringValue, writeExternalMethods inherited from class org.hl7.fhir.r4.model.Element
addChild, addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, getNamedProperty, hasExtension, hasExtension, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdElementMethods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isResource, listChildrenByName, listChildrenByName, setUserData, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
-
Constructor Details
-
XhtmlType
-
XhtmlType
public XhtmlType()
-
-
Method Details
-
fhirType
-
listChildren
- Overrides:
listChildrenin classElement
-
getIdBase
-
setIdBase
-
copy
- Specified by:
copyin classPrimitiveType<String>
-
getValue
- Specified by:
getValuein interfaceorg.hl7.fhir.instance.model.api.IPrimitiveType<String>- Overrides:
getValuein classPrimitiveType<String>
-
getXhtml
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin 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:
getPropertyin classPrimitiveType<String>- Throws:
org.hl7.fhir.exceptions.FHIRException
-
primitiveValue
- Overrides:
primitiveValuein classPrimitiveType<String>
-
isPrimitive
- Overrides:
isPrimitivein classPrimitiveType<String>
-
hasPrimitiveValue
- Overrides:
hasPrimitiveValuein classPrimitiveType<String>
-
encode
Description copied from class:PrimitiveTypeSubclasses must override to convert a "coerced" value into an encoded one.- Specified by:
encodein 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:PrimitiveTypeSubclasses must override to convert an encoded representation of this datatype into a "coerced" one- Specified by:
parsein classPrimitiveType<String>- Parameters:
theValue- Will not be null- Returns:
- May return null if the value does not correspond to anything
-
getPlace
-
setPlace
-
setXhtml
Description copied from class:Basereturn set XHTML if this is an XHTML node, else error
-