Class N52XmlHelper

java.lang.Object
org.n52.svalbard.util.N52XmlHelper

public final class N52XmlHelper extends Object
Utility class for 52N
Since:
1.0.0
  • Field Details

    • SCHEMA_LOCATION_OM_100

      public static final SchemaLocation SCHEMA_LOCATION_OM_100
    • SCHEMA_LOCATION_SOAP_12

      public static final SchemaLocation SCHEMA_LOCATION_SOAP_12
  • Method Details

    • setSchemaLocationToDocument

      public static void setSchemaLocationToDocument(org.apache.xmlbeans.XmlObject document, String schemaLocations)
      Sets the schema location to a XmlObject
      Parameters:
      document - XML document
      schemaLocations - schema location
    • setSchemaLocationsToDocument

      public static void setSchemaLocationsToDocument(org.apache.xmlbeans.XmlObject document, Collection<SchemaLocation> schemaLocations)
      Sets the schema locations to a XmlObject
      Parameters:
      document - XML document
      schemaLocations - List of schema locations
    • mergeSchemaLocationsToString

      public static String mergeSchemaLocationsToString(Iterable<SchemaLocation> schemaLocations)
    • getNamespaces

      public static Set<String> getNamespaces(org.apache.xmlbeans.XmlObject xmlObject)
    • getSchemaLocationQName

      public static QName getSchemaLocationQName()
      W3C XSI schema location
      Returns:
      QName of schema location
    • getSchemaLocationQNameWithPrefix

      public static QName getSchemaLocationQNameWithPrefix()
      W3C XSI schema location with prefix
      Returns:
      QName of schema location
    • getSchemaLocationForSOS100

      public static SchemaLocation getSchemaLocationForSOS100()
      SOS 1.0.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForSOS200

      public static SchemaLocation getSchemaLocationForSOS200()
      SOS 2.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForOM100

      public static SchemaLocation getSchemaLocationForOM100()
      OM 1.0.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForOM200

      public static SchemaLocation getSchemaLocationForOM200()
      OM 2.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForGML311

      public static SchemaLocation getSchemaLocationForGML311()
      GML 3.1.1 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForGML321

      public static SchemaLocation getSchemaLocationForGML321()
      GML 3.2.1 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForOGC

      public static SchemaLocation getSchemaLocationForOGC()
      SOS OGC schema location
      Returns:
      QName of schema location
    • getSchemaLocationForOWS110

      public static SchemaLocation getSchemaLocationForOWS110()
      OWS 1.1.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForOWS110Exception

      public static SchemaLocation getSchemaLocationForOWS110Exception()
      OWS 1.1.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForSA100

      public static SchemaLocation getSchemaLocationForSA100()
      Sampling 1.0.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForSF200

      public static SchemaLocation getSchemaLocationForSF200()
      Sampling 2.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForSAMS200

      public static SchemaLocation getSchemaLocationForSAMS200()
      SamplingSpatial 2.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForSML101

      public static SchemaLocation getSchemaLocationForSML101()
      SensorML 1.0.1 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForSWE101

      public static SchemaLocation getSchemaLocationForSWE101()
      SWECommon 1.0.1 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForSWE200

      public static SchemaLocation getSchemaLocationForSWE200()
      SWECommon 2.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForSWES200

      public static SchemaLocation getSchemaLocationForSWES200()
      SWECommon 2.0 schema location
      Returns:
      QName of schema location
    • getSchemaLocationForXLINK

      public static SchemaLocation getSchemaLocationForXLINK()
      W3C XLINK schema location
      Returns:
      QName of schema location
    • getSchemaLocationForSOAP12

      public static SchemaLocation getSchemaLocationForSOAP12()