Package org.hl7.fhir.r5.renderers.utils
Class DirectWrappers.ResourceWrapperDirect
- java.lang.Object
-
- org.hl7.fhir.r5.renderers.utils.BaseWrappers.RendererWrapperImpl
-
- org.hl7.fhir.r5.renderers.utils.BaseWrappers.WrapperBaseImpl
-
- org.hl7.fhir.r5.renderers.utils.DirectWrappers.ResourceWrapperDirect
-
- All Implemented Interfaces:
BaseWrappers.RendererWrapper,BaseWrappers.ResourceWrapper,BaseWrappers.WrapperBase
- Enclosing class:
- DirectWrappers
public static class DirectWrappers.ResourceWrapperDirect extends BaseWrappers.WrapperBaseImpl implements BaseWrappers.ResourceWrapper
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.r5.renderers.utils.BaseWrappers.RendererWrapperImpl
context
-
-
Constructor Summary
Constructors Constructor Description ResourceWrapperDirect(RenderingContext context, Resource wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BaseWrappers.PropertyWrapper>children()voiddescribe(org.hl7.fhir.utilities.xhtml.XhtmlNode x)StringfhirType()BasegetBase()BaseWrappers.PropertyWrappergetChildByName(String name)List<BaseWrappers.ResourceWrapper>getContained()StructureDefinitiongetDefinition()StringgetId()StringgetName()StringgetNameFromResource()org.hl7.fhir.utilities.xhtml.XhtmlNodegetNarrative()booleanhasNarrative()voidinjectNarrative(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Narrative.NarrativeStatus status)BaseWrappers.BaseWrapperroot()-
Methods inherited from class org.hl7.fhir.r5.renderers.utils.BaseWrappers.WrapperBaseImpl
children, get, has
-
Methods inherited from class org.hl7.fhir.r5.renderers.utils.BaseWrappers.RendererWrapperImpl
getContext, tail
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.r5.renderers.utils.BaseWrappers.RendererWrapper
getContext
-
Methods inherited from interface org.hl7.fhir.r5.renderers.utils.BaseWrappers.WrapperBase
children, get, has
-
-
-
-
Constructor Detail
-
ResourceWrapperDirect
public ResourceWrapperDirect(RenderingContext context, Resource wrapped)
-
-
Method Detail
-
getContained
public List<BaseWrappers.ResourceWrapper> getContained()
- Specified by:
getContainedin interfaceBaseWrappers.ResourceWrapper
-
getId
public String getId()
- Specified by:
getIdin interfaceBaseWrappers.ResourceWrapper
-
getNarrative
public org.hl7.fhir.utilities.xhtml.XhtmlNode getNarrative()
- Specified by:
getNarrativein interfaceBaseWrappers.ResourceWrapper
-
getName
public String getName()
- Specified by:
getNamein interfaceBaseWrappers.ResourceWrapper
-
getNameFromResource
public String getNameFromResource()
- Specified by:
getNameFromResourcein interfaceBaseWrappers.ResourceWrapper
-
children
public List<BaseWrappers.PropertyWrapper> children()
- Specified by:
childrenin interfaceBaseWrappers.WrapperBase
-
describe
public void describe(org.hl7.fhir.utilities.xhtml.XhtmlNode x) throws UnsupportedEncodingException, IOException
- Specified by:
describein interfaceBaseWrappers.ResourceWrapper- Throws:
UnsupportedEncodingExceptionIOException
-
injectNarrative
public void injectNarrative(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Narrative.NarrativeStatus status)
- Specified by:
injectNarrativein interfaceBaseWrappers.ResourceWrapper
-
root
public BaseWrappers.BaseWrapper root()
- Specified by:
rootin interfaceBaseWrappers.ResourceWrapper
-
getDefinition
public StructureDefinition getDefinition()
- Specified by:
getDefinitionin interfaceBaseWrappers.ResourceWrapper
-
getBase
public Base getBase()
- Specified by:
getBasein interfaceBaseWrappers.ResourceWrapper
-
hasNarrative
public boolean hasNarrative()
- Specified by:
hasNarrativein interfaceBaseWrappers.ResourceWrapper
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceBaseWrappers.WrapperBase
-
getChildByName
public BaseWrappers.PropertyWrapper getChildByName(String name)
- Specified by:
getChildByNamein interfaceBaseWrappers.ResourceWrapper
-
-