|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.dom.AbstractMarkupModel
public abstract class AbstractMarkupModel
| Constructor Summary | |
|---|---|
protected |
AbstractMarkupModel(boolean useApostropheForAttributes)
|
| Method Summary | |
|---|---|
java.lang.String |
encode(java.lang.String content)
Passes all characters but '<', '>' and '&' through unchanged. |
void |
encodeQuoted(java.lang.String content,
java.lang.StringBuilder builder)
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 <). |
char |
getAttributeQuote()
What character is used when generating quotes around attribute values? This will be either a single or double quote. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.tapestry5.dom.MarkupModel |
|---|
getEndTagStyle, isXML |
| Constructor Detail |
|---|
protected AbstractMarkupModel(boolean useApostropheForAttributes)
| Method Detail |
|---|
public char getAttributeQuote()
MarkupModel
getAttributeQuote in interface MarkupModelpublic java.lang.String encode(java.lang.String content)
encode in interface MarkupModelcontent - to be filtered
public void encodeQuoted(java.lang.String content,
java.lang.StringBuilder builder)
MarkupModel
encodeQuoted in interface MarkupModelcontent - to be filteredbuilder - to receive the filtered content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||