Class StringLiteral
- java.lang.Object
-
- au.csiro.pathling.fhirpath.literal.StringLiteral
-
public abstract class StringLiteral extends Object
-
-
Constructor Summary
Constructors Constructor Description StringLiteral()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringescapeFhirPathString(String value)On the way back out, we only do the minimal escaping to guarantee syntactical correctness.static StringtoLiteral(String value)Converts a string value to a FHIRPath string literal.static StringunescapeFhirPathString(String value)This method implements the rules for dealing with strings in the FHIRPath specification.
-
-
-
Method Detail
-
toLiteral
@Nonnull public static String toLiteral(@Nonnull String value)
Converts a string value to a FHIRPath string literal.- Parameters:
value- the sting value to convert- Returns:
- the FHIRPath string literal
-
escapeFhirPathString
@Nonnull public static String escapeFhirPathString(@Nonnull String value)
On the way back out, we only do the minimal escaping to guarantee syntactical correctness.- Parameters:
value- the value to apply escaping to- Returns:
- the escaped result
-
-