Package com.iizix.text
Class PlainKString
- java.lang.Object
- com.iizix.text.KString
- com.iizix.text.PlainKString
Nested Class Summary
Nested classes/interfaces inherited from class com.iizix.text.KString
KString.Type
Constructor Summary
Constructors Constructor Description PlainKString(java.lang.String inputString, boolean usesTagProcessing)
Creates the parsed KString.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlainKString
toPlainKString()
Gets a PlainKString from this PlainKString instance, i.e.java.lang.String
toString()
Formats to a String.Methods inherited from class com.iizix.text.KString
clone, compareTo, createKString, createKStringForEditor, dispose, equals, equalsOmitReferenceRefreshCheck, finalize, getHTMLString, getPLAINString, getPLAINString, getRawHTMLString, getRawHTMLStringForEditor, getRawHTMLStringForEditor, getRawPLAINString, getRawString, getReferences, getSource, getTag, getTags, getType, hashCode, hasImageReferenceTags, hasReferenceTags, hasTags, hasTextTableReferenceTags, isEmpty, isEmptyBlankResolved, isHTML, isPLAIN, isRefreshRequired, newPlainKString, toElement, usesTagProcessing, willLoseFormatting
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.- Parameters:
inputString
- The input string in correct format.usesTagProcessing
- Flag indicating special iizi-tags might be included.- Throws:
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.- Overrides:
toPlainKString
in classKString
- Returns:
- A new PlainKString.