Package de.latlon.ets.wfs20.core.utils
Class ValidationUtils
java.lang.Object
de.latlon.ets.wfs20.core.utils.ValidationUtils
A utility class that provides convenience methods to support schema validation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemacreateWFSSchema(Document wfsMetadata) Creates a single Schema object representing the complete set of XML Schema constraints that apply to WFS 2.0 message entities.
-
Constructor Details
-
ValidationUtils
public ValidationUtils()
-
-
Method Details
-
createWFSSchema
Creates a single Schema object representing the complete set of XML Schema constraints that apply to WFS 2.0 message entities.- Parameters:
wfsMetadata- metadata document of WFS. It is used to determine exact WFS 2.0 version (2.0.0 or 2.0.2).- Returns:
- An immutable Schema object, or
nullif one cannot be constructed. - See Also:
-