Class CoreValidation

java.lang.Object
org.opengis.cite.citygml30part2.CommonFixture
org.opengis.cite.citygml30part2.core.CoreValidation

public class CoreValidation extends CommonFixture
  • Field Details

  • Constructor Details

    • CoreValidation

      public CoreValidation()
  • Method Details

    • VerifyCoreModule

      public void VerifyCoreModule()
      Verify that instance documents using the Core XML elements listed in Table 4 validate against the XML schema specified in core.xsd.
    • VerifyCoreReference

      public void VerifyCoreReference()
      For the following properties, verify that:
      • If the generalizesTo property (type: gml:ReferenceType) of the AbstractCityObject element is not null, it contains an XLink reference to an AbstractCityObject element.
      • If the relatedTo property (type: gml:ReferenceType) of the CityObjectRelation element is not null, it contains an XLink reference to an AbstractCityObject element.
    • VerifyCoreBoundaries

      public void VerifyCoreBoundaries()

      Table 5lists the surfaces that are allowed as space boundaries of the space elements defined in the Core module.

      If a space element is bounded by space boundaries using the property core:boundary (type: core:AbstractSpaceBoundaryPropertyType), each property SHALL contain exactly one surface element from Table 5that is supported for the specific space element.

      If no surface element is supported, the space element SHALL NOT be bounded by space boundaries.