public abstract class AbstractMarkupModel extends java.lang.Object implements MarkupModel
Modifier | Constructor and Description |
---|---|
protected |
AbstractMarkupModel(boolean useApostropheForAttributes) |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndTagStyle, isXML
protected AbstractMarkupModel(boolean useApostropheForAttributes)
public char getAttributeQuote()
MarkupModel
getAttributeQuote
in interface MarkupModel
public java.lang.String encode(java.lang.String content)
encode
in interface MarkupModel
content
- to be filteredpublic void encodeQuoted(java.lang.String content, java.lang.StringBuilder builder)
MarkupModel
encodeQuoted
in interface MarkupModel
content
- to be filteredbuilder
- to receive the filtered content${project.version} - Copyright © 2003-2015 The Apache Software Foundation.