public class HTMLDocument.BlockElement extends AbstractDocument.BranchElement
AttributeSet.CharacterAttribute , AttributeSet.ColorAttribute , AttributeSet.FontAttribute , AttributeSet.ParagraphAttribute NameAttribute, ResolveAttribute| Constructor and Description |
|---|
BlockElement(Element
Constructs a composite element that initially contains no children.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the element.
|
AttributeSet |
getResolveParent()
Gets the resolving parent.
|
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, positionToElement, replace, toStringaddAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParentpublic BlockElement(Elementparent, AttributeSet a)
parent - the parent element
a - the attributes for the element
public StringgetName()
getName in interface
Element
getName in class
AbstractDocument.BranchElement
public AttributeSetgetResolveParent()
getResolveParent in interface
AttributeSet
getResolveParent in class
AbstractDocument.AbstractElement
AttributeSet.getResolveParent()