Package com.iizix.text
Class PlainKString
java.lang.Object
com.iizix.text.KString
com.iizix.text.PlainKString
- All Implemented Interfaces:
Cloneable
,Comparable<KString>
A Plain version of KString allowing a string to contain tags.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class com.iizix.text.KString
KString.Type
Field Summary
Constructor Summary
ConstructorDescriptionPlainKString
(String inputString, boolean usesTagProcessing) Creates the parsed KString.Method Summary
Modifier and TypeMethodDescriptionGets a PlainKString from this PlainKString instance, i.e.toString()
Formats to a String.Methods inherited from class com.iizix.text.KString
clone, compareTo, createKString, createKStringForEditor, dispose, equals, equalsOmitReferenceRefreshCheck, finalize, format, format, format, format, format, format, format, format, formatPLAIN, formatPLAIN, formatPLAIN, formatPLAIN, formatPLAIN, formatPLAIN, formatPLAIN, formatPLAIN, getDirectReferencedTargetSet, getHTMLString, getPLAINString, getPLAINString, getRawDebugString, getRawHTMLDebugString, getRawHTMLString, getRawHTMLStringForEditor, getRawHTMLStringForEditor, getRawPLAINDebugString, getRawPLAINString, getRawString, getSource, getTag, getTags, getType, hashCode, hasImageReferenceTags, hasReferenceTags, hasTags, hasTextTableReferenceTags, isEmpty, isEmptyBlankResolved, isHTML, isPLAIN, isRefreshRequired, newPlainKString, toDebugString, toElement, usesTagProcessing, willLoseFormatting
Constructor Details
PlainKString
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.IllegalArgumentException
- If type or inputString is null.
Method Details
toPlainKString
Gets a PlainKString from this PlainKString instance, i.e. the same instance (this
) is returned.- Overrides:
toPlainKString
in classKString
- Returns:
- A new PlainKString.
toString
Formats to a String.