org.jsoup.nodes
public static enum Entities.EscapeMode extends java.lang.Enum<Entities.EscapeMode>
Enum Constant and Description |
---|
base
Default HTML output entities.
|
extended
Complete HTML entities.
|
xhtml
Restricted entities suitable for XHTML output: lt, gt, amp, apos, and quot only.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Character,java.lang.String> |
getMap() |
static Entities.EscapeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Entities.EscapeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Entities.EscapeMode xhtml
public static final Entities.EscapeMode base
public static final Entities.EscapeMode extended
public static Entities.EscapeMode[] values()
for (Entities.EscapeMode c : Entities.EscapeMode.values()) System.out.println(c);
public static Entities.EscapeMode 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.util.Map<java.lang.Character,java.lang.String> getMap()
Copyright © 2009-2014 Jonathan Hedley. All Rights Reserved.