javax.swing.text.html
public class HTMLDocument.RunElement extends AbstractDocument.LeafElement
| Constructor Summary | |
|---|---|
| RunElement(Element parent, AttributeSet a, int start, int end)
Constructs an element that has no children. | |
| Method Summary | |
|---|---|
| String | getName()
Gets the name of the element.
|
| AttributeSet | getResolveParent()
Gets the resolving parent. |
Parameters: parent - parent of this a - elements attributes start - the start offset >= 0 end - the end offset
Returns: the name of the element if it exists, null otherwise.
Returns: null