Package org.hl7.fhir.r5.renderers.utils
Class ResourceWrapperModel
java.lang.Object
org.hl7.fhir.r5.renderers.utils.ResourceWrapper
org.hl7.fhir.r5.renderers.utils.ResourceWrapperModel
This class is used to walk through the resources when rendering, whether
the resource is a native resource or loaded by the element model
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.renderers.utils.ResourceWrapper
ResourceWrapper.ElementKind, ResourceWrapper.NamedResourceWrapperList
-
Field Summary
Fields inherited from class org.hl7.fhir.r5.renderers.utils.ResourceWrapper
children, contextUtils, index, kind, name, parent
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fhirType()
getBase()
getId()
org.hl7.fhir.utilities.xhtml.XhtmlNode
org.hl7.fhir.utilities.xhtml.XhtmlNode
getXhtml()
boolean
boolean
boolean
boolean
isDirect()
boolean
boolean
protected void
void
markLanguage
(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Locale locale) boolean
void
setNarrative
(org.hl7.fhir.utilities.xhtml.XhtmlNode x, String status, boolean multiLangMode, Locale locale, boolean isPretty) toString()
Methods inherited from class org.hl7.fhir.r5.renderers.utils.ResourceWrapper
basePath, child, childMN, children, children, childrenInGroups, childrenMN, extension, extensions, extensions, extensionString, extensionValue, extensionValues, firstChild, firstPrimitiveValue, forResource, forResource, forResource, forResource, forType, forType, forType, getContained, getContextUtilities, getResourceWrapper, getScopedId, has, hasChildren, hasExtension, hasMN, hasPrimitiveValue, index, isEmpty, isPrimitive, kind, matches, name, parent, path, primitiveValue, primitiveValueMN, resource
-
Field Details
-
model
-
-
Method Details
-
fhirVersion
- Specified by:
fhirVersion
in classResourceWrapper
-
fhirType
- Specified by:
fhirType
in classResourceWrapper
-
isPrimitive
- Specified by:
isPrimitive
in classResourceWrapper
-
hasPrimitiveValue
- Specified by:
hasPrimitiveValue
in classResourceWrapper
-
primitiveValue
- Specified by:
primitiveValue
in classResourceWrapper
-
loadTheChildren
- Specified by:
loadTheChildren
in classResourceWrapper
-
isResource
- Specified by:
isResource
in classResourceWrapper
-
canHaveNarrative
- Specified by:
canHaveNarrative
in classResourceWrapper
-
getNarrative
- Specified by:
getNarrative
in classResourceWrapper
-
hasNarrative
- Specified by:
hasNarrative
in classResourceWrapper
-
setNarrative
public void setNarrative(org.hl7.fhir.utilities.xhtml.XhtmlNode x, String status, boolean multiLangMode, Locale locale, boolean isPretty) throws IOException - Specified by:
setNarrative
in classResourceWrapper
- Throws:
IOException
-
markLanguage
- Overrides:
markLanguage
in classResourceWrapper
-
getId
- Specified by:
getId
in classResourceWrapper
-
toString
-
matches
-
getResourceNative
- Specified by:
getResourceNative
in classResourceWrapper
-
hasFormatComment
- Specified by:
hasFormatComment
in classResourceWrapper
-
getFormatCommentsPre
- Specified by:
getFormatCommentsPre
in classResourceWrapper
-
getXhtml
- Specified by:
getXhtml
in classResourceWrapper
-
getBase
- Specified by:
getBase
in classResourceWrapper
-
isDirect
- Specified by:
isDirect
in classResourceWrapper
-
getWebPath
- Specified by:
getWebPath
in classResourceWrapper
-
getCodeSystemUri
- Specified by:
getCodeSystemUri
in classResourceWrapper
-