|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cyberneko.html.HTMLTagBalancer.Info
Element info for each start element. This information is used when closing unbalanced inline elements. For example:
<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.
Field Summary | |
XMLAttributes |
attributes
The element attributes. |
HTMLElements.Element |
element
The element. |
QName |
qname
The element qualified name. |
Constructor Summary | |
HTMLTagBalancer.Info(HTMLElements.Element element,
QName qname)
Creates an element information object. |
|
HTMLTagBalancer.Info(HTMLElements.Element element,
QName qname,
XMLAttributes attributes)
Creates an element information object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public HTMLElements.Element element
public QName qname
public XMLAttributes attributes
Constructor Detail |
public HTMLTagBalancer.Info(HTMLElements.Element element, QName qname)
Note: This constructor makes a copy of the element information.
element
- The element qualified name.public HTMLTagBalancer.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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |