public class GXHtmlGenericTag
extends GXHtmlTag
To create a new HTML generic tag,
use GXHtmlTagFactory.intance().newGenericTag(<TAG NAME>).
Use the setInnerText method to set text to the tag.
Use setAttribute to add an attribute to the tag.
Use getChildren().add(...) to create child tags.
GXHtmlTagFactory.newGenericTag(String)| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Returns the inner text of the tag.
|
void |
setInnerText(String innerText)
Sets the inner text of the tag
|
void |
setTagName(String tagName)
Sets the concrete tag name.
|
public void setInnerText(String innerText)
innerText - The inner text of the tagpublic void setTagName(String tagName)
tagName - the concrete tag name.public String getContent()
Copyright 2022 Software AG. All rights reserved. Use is subject to license terms.