Class ValidationUtils

java.lang.Object
de.latlon.ets.wfs20.core.utils.ValidationUtils

public class ValidationUtils extends Object
A utility class that provides convenience methods to support schema validation.
  • Constructor Details

    • ValidationUtils

      public ValidationUtils()
  • Method Details

    • createWFSSchema

      public static Schema createWFSSchema(Document wfsMetadata)
      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 null if one cannot be constructed.
      See Also: