|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.lagarto.dom.HtmlImplicitClosingRules
public class HtmlImplicitClosingRules
HTML rules for implicitly closing tags.
| Field Summary | |
|---|---|
static java.lang.String[][] |
IMPLIED_ON_END
List of tags that can be implicitly closed on tags end. |
static java.lang.String[][] |
IMPLIED_ON_START
List of tags that can be implicitly closed on provided children. |
| Constructor Summary | |
|---|---|
HtmlImplicitClosingRules()
|
|
| Method Summary | |
|---|---|
boolean |
implicitlyCloseParentTagOnNewTag(java.lang.String parentNodeName,
java.lang.String nodeName)
Returns true if parent node tag can be closed implicitly. |
boolean |
implicitlyCloseParentTagOnTagEnd(java.lang.String parentNodeName,
java.lang.String nodeName)
Returns true if current end tag (node name) closes the parent tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[][] IMPLIED_ON_START
Interpret it like this: [second array OPEN tag] closes [first array tag]
public static final java.lang.String[][] IMPLIED_ON_END
Interpret it like this: [first array CLOSE tag] closes [second array tag]
| Constructor Detail |
|---|
public HtmlImplicitClosingRules()
| Method Detail |
|---|
public boolean implicitlyCloseParentTagOnNewTag(java.lang.String parentNodeName,
java.lang.String nodeName)
true if parent node tag can be closed implicitly.
public boolean implicitlyCloseParentTagOnTagEnd(java.lang.String parentNodeName,
java.lang.String nodeName)
true if current end tag (node name) closes the parent tag.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||