Package org.n52.svalbard.util
Enum Class XmlHelper.LaxValidationCase
- All Implemented Interfaces:
Serializable,Comparable<XmlHelper.LaxValidationCase>,Constable
- Enclosing class:
XmlHelper
Interface for providing exceptional cases in XML validation (e.g.
substitution groups).
FIXME Review code and use new procedure from OX-F to validate offending
content!
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllow substitutions of gml:AbstractFeature. -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanshouldPass(org.apache.xmlbeans.XmlValidationError xve) static XmlHelper.LaxValidationCaseReturns the enum constant of this class with the specified name.static XmlHelper.LaxValidationCase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABSTRACT_OFFERING
-
ABSTRACT_FEATURE_GML
Allow substitutions of gml:AbstractFeature. This lax validation lets pass every child, hence it checks not _if_ this is a valid substitution. -
ABSTRACT_TIME_GML_3_2_1
-
SOS_INSERTION_META_DATA
-
SOS_INSERTION_META_DATA_2
-
SOS_GET_DATA_AVAILABILITY_RESPONSE
-
-
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
-
shouldPass
public abstract boolean shouldPass(org.apache.xmlbeans.XmlValidationError xve)
-