|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.lagarto.dom.Node
jodd.lagarto.dom.Element
public class Element
Tag node.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jodd.lagarto.dom.Node |
|---|
Node.NodeType |
| Field Summary | |
|---|---|
protected boolean |
selfClosed
|
protected boolean |
voidElement
|
| Fields inherited from class jodd.lagarto.dom.Node |
|---|
attributes, caseSensitive, childElementNodes, childElementNodesCount, childNodes, deepLevel, nodeName, nodeType, nodeValue, parentNode, siblingElementIndex, siblingIndex, siblingNameIndex |
| Constructor Summary | |
|---|---|
Element(Tag tag,
boolean voidElement,
boolean selfClosed,
boolean caseSensitive)
|
|
| Method Summary | |
|---|---|
Element |
clone()
|
boolean |
isSelfClosed()
Returns true if element can self-close itself when empty. |
boolean |
isVoidElement()
Returns true if element is void. |
void |
toHtml(java.lang.Appendable appendable)
Generates HTML by appending it to the provided Appendable. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final boolean voidElement
protected final boolean selfClosed
| Constructor Detail |
|---|
public Element(Tag tag,
boolean voidElement,
boolean selfClosed,
boolean caseSensitive)
| Method Detail |
|---|
public Element clone()
clone in class Nodepublic boolean isVoidElement()
true if element is void.
public boolean isSelfClosed()
true if element can self-close itself when empty.
public void toHtml(java.lang.Appendable appendable)
throws java.io.IOException
NodeAppendable.
toHtml in class Nodejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||