public class KStringHTMLTextTableTag extends KStringHTMLDynamicTag<KStringProp> implements IKStringTextTag
KStringTag.Type
isClosed, ordinal
Constructor and Description |
---|
KStringHTMLTextTableTag(int position,
int ordinal,
LinkedHashMap<String,String> attributes,
String inputString,
int parsePosition)
Creates a text table tag and resolves the name attribute.
|
Modifier and Type | Method and Description |
---|---|
String |
getHTMLString(StringBuilder useme,
IKStringInfoProvider provider)
Gets the string representation of this tag in the HTML format,
i.e.
|
String |
getPLAINString(StringBuilder useme,
IKStringInfoProvider provider)
Gets the string representation of this tag in the PLAIN format.
|
String |
getPLAINTagText(StringBuilder useme)
Gets the "unparsed" string representation of this tag in the PLAIN format,
i.e.
|
String |
getReference()
Gets the reference.
|
Class<?> |
getReferenceClass()
Returns the reference class used by this tag, e.g.
|
boolean |
isRefreshRequired(GEvent event,
KStringProp ksp)
Upon a property event received on the target reference property (or its children),
this method verifies if the event would affect the KString contents needing to be
refreshed.
|
boolean |
isRefreshRequired(RefreshEvent event)
Returns whether the tags needs a refresh for the specified refresh type.
|
boolean |
setReference(String ref)
Updates the reference for the tag.
|
boolean |
willLoseFormatting()
Checks if this string will lose formatting when translated to PLAIN.
|
getHTMLTagText, isReferenceTag
create, disposeTagReference, equalsName, resolve
appendHTMLAttributes, appendHTMLAttributes, appendHTMLAttributesSkip, appendPLAINAttributes, appendPLAINValue, clone, equals, getAttribute, getReferenceDescription, getReferenceError, getSourceEndPosition, getSourceLength, getSourcePosition, getType, isReferenceValid, setAttribute, setSourceLocation, verify
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getSourceEndPosition, getSourcePosition, getType, setAttribute
public KStringHTMLTextTableTag(int position, int ordinal, LinkedHashMap<String,String> attributes, String inputString, int parsePosition) throws KStringParseException
position
- The position of the tag in the parsed string.attributes
- The tag attributes.inputString
- The input string to KString.parsePosition
- The parsing position where tag starts.KStringParseException
- For missing attributes.public String getReference()
getReference
in interface IKStringTextTag
getReference
in class KStringHTMLDynamicTag<KStringProp>
public boolean setReference(String ref)
setReference
in interface IKStringTextTag
setReference
in class KStringHTMLTag<KStringProp>
ref
- The new reference string.public Class<?> getReferenceClass()
getReferenceClass
in class KStringTag<KStringProp>
public boolean willLoseFormatting()
willLoseFormatting
in class KStringHTMLDynamicTag<KStringProp>
public String getPLAINTagText(StringBuilder useme)
getPLAINTagText
in class KStringHTMLDynamicTag<KStringProp>
public String getPLAINString(StringBuilder useme, IKStringInfoProvider provider)
getPLAINString
in class KStringHTMLDynamicTag<KStringProp>
useme
- Temporary StringBuilder for any use.provider
- The information provider or null for none.public String getHTMLString(StringBuilder useme, IKStringInfoProvider provider)
getHTMLString
in class KStringHTMLDynamicTag<KStringProp>
useme
- Temporary StringBuilder for any use.provider
- The information provider or null for none.public boolean isRefreshRequired(RefreshEvent event)
isRefreshRequired
in class KStringTag<KStringProp>
event
- The refresh event.public boolean isRefreshRequired(GEvent event, KStringProp ksp)
isRefreshRequired
in class KStringTag<KStringProp>
event
- The event.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.