Class StringFragment

java.lang.Object
org.kigalisim.lang.fragment.Fragment
org.kigalisim.lang.fragment.StringFragment

public class StringFragment extends Fragment
A fragment containing only a string value.
  • Constructor Details

    • StringFragment

      public StringFragment(String value)
      Create a new StringFragment.
      Parameters:
      value - The string value parsed from the source of this fragment.
  • Method Details

    • getString

      public String getString()
      Description copied from class: Fragment
      Get the string parsed from the source of this fragment.
      Overrides:
      getString in class Fragment
      Returns:
      The string found on this fragment.