|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MarkupRenderMode> com.google.caja.reporting.MarkupRenderMode
public enum MarkupRenderMode
Explains the dialect of markup to use for output.
Enum Constant Summary | |
---|---|
HTML
Render as HTML, assuming that CDATA tags like <script> have raw
content. |
|
HTML4_BACKWARDS_COMPAT
Render as HTML, but make sure to be backwards compatible with HTML4 quirks such as disallowing values on boolean attributes like the checked attribute of <input> . |
|
XML
Render as XML, either encoding or using CDATA sections ( <![[CDATA[...]]> ) for content that would be raw in HTML, and
not using any entities not defined for all of XML such as ' . |
Method Summary | |
---|---|
static MarkupRenderMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MarkupRenderMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MarkupRenderMode HTML
<script>
have raw
content.
public static final MarkupRenderMode XML
<![[CDATA[...]]>
) for content that would be raw in HTML, and
not using any entities not defined for all of XML such as '
.
public static final MarkupRenderMode HTML4_BACKWARDS_COMPAT
checked
attribute of <input>
.
Method Detail |
---|
public static final MarkupRenderMode[] values()
for(MarkupRenderMode c : MarkupRenderMode.values()) System.out.println(c);
public static MarkupRenderMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |