Class PlainKString

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable<KString>

    public class PlainKString
    extends KString
    A Plain version of KString allowing a string to contain tags.
    Christopher Mindus
    • Constructor Detail

      • PlainKString

        public PlainKString​(java.lang.String inputString,
                            boolean usesTagProcessing)
                     throws KStringException
        Creates the parsed KString.

        The parameter usesTagProcessing is used to control parsing of the string to look-up potential references to e.g. the iiziApp. An HTML string will be parsed for security reasons in all cases.

        inputString - The input string in correct format.
        usesTagProcessing - Flag indicating special iizi-tags might be included.
        KStringException - For string errors.
        KStringParseException - For parsing errors.
        java.lang.IllegalArgumentException - If type or inputString is null.
    • Method Detail

      • toPlainKString

        public PlainKString toPlainKString()
        Gets a PlainKString from this PlainKString instance, i.e. the same instance (this) is returned.
        toPlainKString in class KString
        A new PlainKString.
      • toString

        public java.lang.String toString()
        Formats to a String.
        toString in class KString