Package com.deltaxml.core.config
Enum Class MixedContentDetectionScope
- All Implemented Interfaces:
Serializable,Comparable<MixedContentDetectionScope>,Constable
Enumeration representing the possible values for handling changes in whitespace. Here, both documents must have some whitespace
at a given point in order for there to be a change in whitespace. This will then be processed in accordance with the specified
behaviour. Whitespace insertions and deletions are not affected by the modified whitespace behaviour.
- Since:
- 9.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic MixedContentDetectionScopeReturns aMixedContentDetectionScopeobject from the supplied String value if appropriate.toString()Returns a String representation ofMixedContentDetectionScope.static MixedContentDetectionScopeReturns the enum constant of this class with the specified name.static MixedContentDetectionScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
LOCAL
Gather data on mixed-content for each element locally, on a case-by-case basis. -
DOCUMENT
Gather data on mixed-content for all elements of the same name in the document. This mode may have a significant impact on performance for large files.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
Returns a String representation of
MixedContentDetectionScope.- Overrides:
toStringin classEnum<MixedContentDetectionScope>- Returns:
- a String representing the
MixedContentDetectionScopeobject
-
getMixedContentDetectionScope
Returns a
MixedContentDetectionScopeobject from the supplied String value if appropriate.This method should not be used under normal circumstances, enum instance values should be used instead.
- Parameters:
value- a String representation of aMixedContentDetectionScopevalue- Returns:
- the
MixedContentDetectionScopeinstance corresponding to the parameter, or null if the value is invalid
-