public class HTMLDocument.RunElement extends AbstractDocument.LeafElement
AttributeSet.CharacterAttribute , AttributeSet.ColorAttribute , AttributeSet.FontAttribute , AttributeSet.ParagraphAttribute NameAttribute, ResolveAttribute| Constructor and Description |
|---|
RunElement(Element
Constructs an element that represents content within the document (has 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, toStringaddAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParentpublic RunElement(Elementparent, AttributeSet a, int offs0, int offs1)
parent - the parent element
a - the element attributes
offs0 - the start offset (must be at least 0)
offs1 - the end offset (must be at least offs0)
public StringgetName()
getName in interface
Element
getName in class
AbstractDocument.LeafElement
public AttributeSetgetResolveParent()
getResolveParent in interface
AttributeSet
getResolveParent in class
AbstractDocument.AbstractElement
AttributeSet.getResolveParent()