public enum MixedContentDetectionScope extends java.lang.Enum<MixedContentDetectionScope>
Enum Constant and Description |
---|
DOCUMENT
Gather data on mixed-content for all elements of the same name in the document.
|
LOCAL
Gather data on mixed-content for each element locally, on a case-by-case basis.
|
Modifier and Type | Method and Description |
---|---|
static MixedContentDetectionScope |
getMixedContentDetectionScope(java.lang.String value)
Returns a
MixedContentDetectionScope object from the supplied String value if appropriate. |
java.lang.String |
toString()
Returns a String representation of
MixedContentDetectionScope . |
static MixedContentDetectionScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MixedContentDetectionScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MixedContentDetectionScope LOCAL
public static final MixedContentDetectionScope DOCUMENT
public static MixedContentDetectionScope[] values()
for (MixedContentDetectionScope c : MixedContentDetectionScope.values()) System.out.println(c);
public static MixedContentDetectionScope 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.lang.String toString()
Returns a String representation of MixedContentDetectionScope
.
toString
in class java.lang.Enum<MixedContentDetectionScope>
MixedContentDetectionScope
objectpublic static MixedContentDetectionScope getMixedContentDetectionScope(java.lang.String value)
Returns a MixedContentDetectionScope
object from the supplied String value if appropriate.
This method should not be used under normal circumstances, enum instance values should be used instead.
value
- a String representation of a MixedContentDetectionScope
valueMixedContentDetectionScope
instance corresponding to the parameter, or null if the value is invalid