Class StringLiteral


  • public abstract class StringLiteral
    extends Object
    • Constructor Detail

      • StringLiteral

        public StringLiteral()
    • Method Detail

      • 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
      • unescapeFhirPathString

        @Nonnull
        public static String unescapeFhirPathString​(@Nonnull
                                                    String value)
        This method implements the rules for dealing with strings in the FHIRPath specification.
        Parameters:
        value - the string to be unescaped
        Returns:
        the unescaped result
        See Also:
        String