Package ca.uhn.fhir.parser.path
Class EncodeContextPath
java.lang.Object
ca.uhn.fhir.parser.path.EncodeContextPath
-
Constructor Summary
ConstructorDescriptionEncodeContextPath
(String thePath) EncodeContextPath
(List<EncodeContextPathElement> thePath) -
Method Summary
Modifier and TypeMethodDescriptionboolean
equalsPath
(String thePath) getPath()
void
popPath()
Remove the element at the end of the pathvoid
Add an element at the end of the pathboolean
startsWith
(EncodeContextPath theCurrentResourcePath, boolean theAllowSymmmetrical) Tests and returns whether this path starts with theCurrentResourcePathtoString()
-
Constructor Details
-
EncodeContextPath
public EncodeContextPath() -
EncodeContextPath
-
EncodeContextPath
-
-
Method Details
-
toString
-
getPath
-
getCurrentResourcePath
-
pushPath
Add an element at the end of the path -
popPath
Remove the element at the end of the path -
getResourcePath
-
getLeafElementName
-
getLeafResourceName
-
getLeafResourcePathFirstField
-
startsWith
Tests and returns whether this path starts with theCurrentResourcePath- Parameters:
theCurrentResourcePath
- The path to testtheAllowSymmmetrical
- Iftrue
, this method will return true if theCurrentResourcePath starts with this path as well as testing whether this path starts with theCurrentResourcePath
-
equalsPath
-