Package ca.uhn.fhir.parser
Class BaseParser.EncodeContext
- java.lang.Object
-
- ca.uhn.fhir.parser.BaseParser.EncodeContextPath
-
- ca.uhn.fhir.parser.BaseParser.EncodeContext
-
- Enclosing class:
- BaseParser
protected class BaseParser.EncodeContext extends BaseParser.EncodeContextPath
EncodeContext is a shared state object that is passed around the encode process
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEncodeContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<ca.uhn.fhir.parser.BaseParser.Key,List<BaseParser.CompositeChildElement>>getCompositeChildrenCache()StringgetLeafElementName()StringgetLeafResourceName()StringgetLeafResourcePathFirstField()protected ArrayList<BaseParser.EncodeContextPathElement>getResourcePath()voidpopPath()Remove the element at the end of the pathprotected voidpushPath(String thePathElement, boolean theResource)Add an element at the end of the path-
Methods inherited from class ca.uhn.fhir.parser.BaseParser.EncodeContextPath
getCurrentResourcePath, getPath, toString
-
-
-
-
Constructor Detail
-
EncodeContext
protected EncodeContext()
-
-
Method Detail
-
getCompositeChildrenCache
public Map<ca.uhn.fhir.parser.BaseParser.Key,List<BaseParser.CompositeChildElement>> getCompositeChildrenCache()
-
getResourcePath
protected ArrayList<BaseParser.EncodeContextPathElement> getResourcePath()
-
getLeafElementName
public String getLeafElementName()
-
getLeafResourceName
public String getLeafResourceName()
-
getLeafResourcePathFirstField
public String getLeafResourcePathFirstField()
-
pushPath
protected void pushPath(String thePathElement, boolean theResource)
Add an element at the end of the path
-
popPath
public void popPath()
Remove the element at the end of the path
-
-