Class TMPreventLocalEntityResolver

java.lang.Object
org.geotools.util.PreventLocalEntityResolver
org.tailormap.api.geotools.TMPreventLocalEntityResolver
All Implemented Interfaces:
Serializable, org.geotools.util.EntityResolver3, EntityResolver, EntityResolver2

public class TMPreventLocalEntityResolver extends org.geotools.util.PreventLocalEntityResolver
An entity resolver that extends the PreventLocalEntityResolver to allow certain DescribeFeatureType requests commonly produced by GeoServer.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.geotools.util.PreventLocalEntityResolver

    ERROR_MESSAGE_BASE, LOGGER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    resolveEntity(String name, String publicId, String baseURI, String systemId)
    Next to what the base class allows, explicitly allow (dynamic) DescribeFeatureType requests such as https://service.pdok.nl/kadaster/brk-bestuurlijke-gebieden/wfs/v1_0?SERVICE=WFS&VERSION=2.0.0&REQUEST=DescribeFeatureType&TYPENAME=bestuurlijkegebieden:Provinciegebied&OUTPUTFORMAT=application%2Fgml%2Bxml%3B%20version%3D3.2 commonly produced by GeoServer.

    Methods inherited from class org.geotools.util.PreventLocalEntityResolver

    getAccess, getExternalSubset, resolveEntity

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TMPreventLocalEntityResolver

      public TMPreventLocalEntityResolver()
  • Method Details

    • resolveEntity

      public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException
      Next to what the base class allows, explicitly allow (dynamic) DescribeFeatureType requests such as https://service.pdok.nl/kadaster/brk-bestuurlijke-gebieden/wfs/v1_0?SERVICE=WFS&VERSION=2.0.0&REQUEST=DescribeFeatureType&TYPENAME=bestuurlijkegebieden:Provinciegebied&OUTPUTFORMAT=application%2Fgml%2Bxml%3B%20version%3D3.2 commonly produced by GeoServer.
      Specified by:
      resolveEntity in interface EntityResolver2
      Overrides:
      resolveEntity in class org.geotools.util.PreventLocalEntityResolver
      Throws:
      SAXException
      IOException