Constructs a composite element that initially contains
no children.
Constructs a composite element that initially contains no children.
Parameters: - parent - the parent element
- a - the attributes for the element
Since:
1.4
Returns the index of node in the receivers children.
Returns the index of node in the receivers children. If the receiver does not contain node, -1 will be returned.
Returns:
the index of node in the receiver's
children, or -1 if absent
Parameters: - node - the location of interest
Gets the resolving parent. HTML attributes are not inherited at the model level so we override this to return null.
Returns:
null, there are none
See Also:AttributeSet.getResolveParent(),
Checks whether a given attribute is defined.
Returns:
true if the attribute is defined
Parameters: - attrName - the non-null attribute name
See Also:AttributeSet.isDefined(java.lang.Object),
Replaces content with a new set of elements.
Parameters: - offset - the starting offset >= 0
- length - the length to replace >= 0
- elems - the new elements