|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.dom.DefaultMarkupModel
public class DefaultMarkupModel
Default implementation of MarkupModel that is appropriate for traditional HTML
markup. This conforms to the SGML HTML definition, including some things that are not well formed XML-style markup.
Assumes that all tags are lower-case.
| Constructor Summary | |
|---|---|
DefaultMarkupModel()
|
|
| Method Summary | |
|---|---|
void |
encode(String content,
StringBuilder buffer)
Passes all characters but '<', '>' and '&' through unchanged. |
void |
encodeQuoted(String content,
StringBuilder buffer)
Encodes the characters into the buffer for use in a quoted value (that is, an attribute value), converting control characters (such as '<') into corresponding entities (such as <). |
EndTagStyle |
getEndTagStyle(String element)
For a given element, determines how the end tag for the element should be rendered. |
boolean |
isXML()
Returns false. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMarkupModel()
| Method Detail |
|---|
public void encode(String content,
StringBuilder buffer)
encode in interface MarkupModelcontent - to be filteredbuffer - to receive the filtered content
public void encodeQuoted(String content,
StringBuilder buffer)
MarkupModel
encodeQuoted in interface MarkupModelcontent - to be filteredbuffer - to receive the filtered contentpublic EndTagStyle getEndTagStyle(String element)
MarkupModel
getEndTagStyle in interface MarkupModelpublic boolean isXML()
isXML in interface MarkupModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||