Package org.n52.svalbard.util
Enum XmlHelper.LaxValidationCase
- java.lang.Object
-
- java.lang.Enum<XmlHelper.LaxValidationCase>
-
- org.n52.svalbard.util.XmlHelper.LaxValidationCase
-
- All Implemented Interfaces:
Serializable,Comparable<XmlHelper.LaxValidationCase>
- Enclosing class:
- XmlHelper
public static enum XmlHelper.LaxValidationCase extends Enum<XmlHelper.LaxValidationCase>
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!
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSTRACT_FEATURE_GMLAllow substitutions of gml:AbstractFeature.ABSTRACT_OFFERINGABSTRACT_TIME_GML_3_2_1SOS_GET_DATA_AVAILABILITY_RESPONSESOS_INSERTION_META_DATASOS_INSERTION_META_DATA_2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanshouldPass(org.apache.xmlbeans.XmlValidationError xve)static XmlHelper.LaxValidationCasevalueOf(String name)Returns the enum constant of this type with the specified name.static XmlHelper.LaxValidationCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABSTRACT_OFFERING
public static final XmlHelper.LaxValidationCase ABSTRACT_OFFERING
-
ABSTRACT_FEATURE_GML
public static final XmlHelper.LaxValidationCase 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
public static final XmlHelper.LaxValidationCase ABSTRACT_TIME_GML_3_2_1
-
SOS_INSERTION_META_DATA
public static final XmlHelper.LaxValidationCase SOS_INSERTION_META_DATA
-
SOS_INSERTION_META_DATA_2
public static final XmlHelper.LaxValidationCase SOS_INSERTION_META_DATA_2
-
SOS_GET_DATA_AVAILABILITY_RESPONSE
public static final XmlHelper.LaxValidationCase SOS_GET_DATA_AVAILABILITY_RESPONSE
-
-
Method Detail
-
values
public static XmlHelper.LaxValidationCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XmlHelper.LaxValidationCase c : XmlHelper.LaxValidationCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmlHelper.LaxValidationCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
shouldPass
public abstract boolean shouldPass(org.apache.xmlbeans.XmlValidationError xve)
-
-