|
|||||||||
| 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 |
forceCloseTag
When set to true closed tag will be used instead of
shortcut form (<foo/>) when there are no children nodes. |
| Fields inherited from class jodd.lagarto.dom.Node |
|---|
attributes, caseSensitive, childElementNodes, childElementNodesCount, childNodes, deepLevel, nodeName, nodeType, nodeValue, parentNode, siblingElementIndex, siblingIndex, siblingNameIndex |
| Constructor Summary | |
|---|---|
Element(java.lang.String name)
|
|
Element(java.lang.String name,
boolean caseSensitive)
|
|
Element(Tag tag,
boolean caseSensitive)
|
|
| Method Summary | |
|---|---|
Element |
clone()
|
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 boolean forceCloseTag
true closed tag will be used instead of
shortcut form (<foo/>) when there are no children nodes. Some
tags requires to have closing tag (e.g. script).
| Constructor Detail |
|---|
public Element(Tag tag,
boolean caseSensitive)
public Element(java.lang.String name)
public Element(java.lang.String name,
boolean caseSensitive)
| Method Detail |
|---|
public Element clone()
clone in class Node
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 | ||||||||