| org.apache.tapestry.dom.EndTagStyle
EndTagStyle | public enum EndTagStyle (Code) | | Part of a
MarkupModel , used to define how end tags are handled when the
Document in rendered out as a text stream.
|
Field Summary | |
Enum Constant | ABBREVIATE Require an end tag, but abbreviate it if the element has no children. | Enum Constant | OMIT Omit the end tag. | Enum Constant | REQUIRE Require an end tag always. |
ABBREVIATE | Enum Constant ABBREVIATE(Code) | | Require an end tag, but abbreviate it if the element has no children. This is the only value
used in XML documents.
|
OMIT | Enum Constant OMIT(Code) | | Omit the end tag. Examples for HTML include the input, br and img elements.
|
REQUIRE | Enum Constant REQUIRE(Code) | | Require an end tag always. This is the default for most elements in HTML.
|
|
|