public static class HTMLTagBalancer.Info extends Object
<i>unbalanced <b>HTML</i> content</b>
It seems that it is a waste of processing and memory to copy the attributes for every start element even if there are no unbalanced inline elements in the document. However, if the attributes are not saved, then important attributes such as style information would be lost.
| Modifier and Type | Field and Description |
|---|---|
XMLAttributes |
attributes
The element attributes.
|
HTMLElements.Element |
element
The element.
|
QName |
qname
The element qualified name.
|
| Constructor and Description |
|---|
Info(HTMLElements.Element element,
QName qname)
Creates an element information object.
|
Info(HTMLElements.Element element,
QName qname,
XMLAttributes attributes)
Creates an element information object.
|
public final HTMLElements.Element element
public final QName qname
public XMLAttributes attributes
public Info(HTMLElements.Element element, QName qname)
Note: This constructor makes a copy of the element information.
element - The element qualified name.qname - qnamepublic Info(HTMLElements.Element element, QName qname, XMLAttributes attributes)
Note: This constructor makes a copy of the element information.
element - The element qualified name.attributes - The element attributes.qname - qnameCopyright © 2023 Gargoyle Software Inc.. All rights reserved.