javax.swing.text.html

Class HTMLDocument.BlockElement

public class HTMLDocument.BlockElement extends AbstractDocument.BranchElement

Constructor Summary
BlockElement(Element parent, AttributeSet a)
Method Summary
StringgetName()
Gets the name of the element.
AttributeSetgetResolveParent()
Gets the resolving parent.

Constructor Detail

BlockElement

public BlockElement(Element parent, AttributeSet a)

Method Detail

getName

public String getName()
Gets the name of the element.

Returns: the name of the element if it exists, null otherwise.

getResolveParent

public AttributeSet getResolveParent()
Gets the resolving parent. Since HTML attributes are not inherited at the model level, this returns null.