public class KStringHTMLHyperlinkUITag extends KStringHTMLDynamicTag<IUIFocusComp> implements IKStringHTMLHyperlink
KStringTag.Type
isClosed, ordinal
Constructor and Description |
---|
KStringHTMLHyperlinkUITag(int position,
int ordinal,
LinkedHashMap<String,String> attributes,
String inputString,
int parsePosition)
Creates a Panel hyperlink 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.
|
String |
getPLAINString(StringBuilder useme,
IKStringInfoProvider provider)
Gets the string representation of this tag in the PLAIN format,
i.e.
|
String |
getPLAINTagText(StringBuilder useme)
Gets the "unparsed" string representation of this tag in the PLAIN format,
i.e.
|
String |
getReference()
Gets the reference of this tag.
|
Class<?> |
getReferenceClass()
Returns the reference class used by this tag, e.g.
|
boolean |
setReference(String ref)
Sets the "ref" Panel reference.
|
void |
setTarget(String target)
Sets the target reference, if supported.
|
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, isRefreshRequired, isRefreshRequired, setAttribute, setSourceLocation, verify
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getSourceEndPosition, getSourcePosition, getType, setAttribute
public KStringHTMLHyperlinkUITag(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 void setTarget(String target)
setTarget
in interface IKStringHTMLHyperlink
target
- The new target.public boolean setReference(String ref)
setReference
in interface IKStringHTMLHyperlink
setReference
in class KStringHTMLTag<IUIFocusComp>
ref
- The Panel reference.public String getReference()
getReference
in class KStringHTMLDynamicTag<IUIFocusComp>
public Class<?> getReferenceClass()
getReferenceClass
in class KStringTag<IUIFocusComp>
public boolean willLoseFormatting()
willLoseFormatting
in class KStringHTMLDynamicTag<IUIFocusComp>
public String getPLAINTagText(StringBuilder useme)
getPLAINTagText
in class KStringHTMLDynamicTag<IUIFocusComp>
useme
- Temporary StringBuilder for any use.public String getPLAINString(StringBuilder useme, IKStringInfoProvider provider)
getPLAINString
in class KStringHTMLDynamicTag<IUIFocusComp>
useme
- Temporary StringBuilder for any use.provider
- The information provider or null for none.public String getHTMLString(StringBuilder useme, IKStringInfoProvider provider)
getHTMLString
in interface IKStringHTMLHyperlink
getHTMLString
in class KStringHTMLDynamicTag<IUIFocusComp>
useme
- Temporary StringBuilder for any use.provider
- The information provider or null for none.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.