Interface ParsedString


public interface ParsedString
An instance of ParsedString is produced by StringParser.parse(String). The contract is that toString() will return a String equal to the one passed to StringParser.parse(String) to create it.

Serialization libraries can depend on this contract to serialize and deserialize subtypes of ParsedString.

  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • toString

      String toString()
      Overrides:
      toString in class Object
      Returns:
      a String equal to the one that was parsed to create this instance