public class TextData extends Object implements HtmlElement
Modifier and Type | Method and Description |
---|---|
Map<String,AttrValue> |
getAttributes() |
HtmlElementType |
getType()
Retrieve the associated ElementType
|
String |
getValue()
The String value that best represents what this element is.
|
void |
setText(String text) |
boolean |
supportsAttributes()
Must be defined as true to allow default methods to work correctly, this
method and the getAttributes method are used together to implement attribute
support in an element.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, containsAttribute, getAttributeValue, getVoidTag, hasAttributes, setAttribute
public TextData(String t)
public HtmlElementType getType()
HtmlElement
getType
in interface HtmlElement
public String getValue()
HtmlElement
getValue
in interface HtmlElement
public void setText(String text)
public boolean supportsAttributes()
HtmlElement
supportsAttributes
in interface HtmlElement
public Map<String,AttrValue> getAttributes()
getAttributes
in interface HtmlElement
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.