Text.javaAPI DocGlassfish v2 API2618Fri May 04 22:34:50 BST


public interface Text implements HTMLComponent
Text objects are comments, processing instructions, text nodes, and attributes.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetValue()
Get the text value of this object. For comments, this is the text inside the comment markers. For text nodes, this is just the text. For attributes, this is the value.

The text contained in this object.

public voidsetValue(java.lang.String value)
Set the text value of this textual object. Previous text is lost.

value The new value of the text.