Interface StringPathObject

All Superinterfaces:
PathObject

public interface StringPathObject extends PathObject
A PathObject whose underlying value is expected to be a String.

This is a terminal type. PathObject.instance() returns an Instance wrapping the resolved primitive value per RTPO8f; navigation via at(...) is not available here because it is only defined on LiveMapPathObject. Only value() and the inherited read APIs are useful here.

Spec: RTTS6c

  • Method Details

    • value

      @Nullable @Nullable String value()
      Returns the string at this path, or null when the path does not resolve or resolves to a non-string value.

      Spec: RTPO7 / RTTS6c

      Returns:
      the resolved string, or null