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.
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Returns the inner text of the tag.
|
void |
recycle()
Recycles the tag in the HTML tag factory
|
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 recycle()
public void setTagName(String tagName)
tagName
- the concrete tag name.public String getContent()
Copyright 2014 Software AG. All rights reserved. Use is subject to license terms.