Class ValidationUtils

java.lang.Object
org.opengis.cite.cat20.dgiwg10.util.ValidationUtils

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

    • ValidationUtils

      public ValidationUtils()
  • Method Details

    • createSchema

      public static Schema createSchema(URI... schemaUrls)
      Creates a single Schema object available from the passed schemaUrls.
      Parameters:
      schemaUrls - the URL of the xsd file, never null
      Returns:
      an immutable Schema object, or null if one cannot be constructed.