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
FieldsFields inherited from class org.geotools.util.PreventLocalEntityResolver
ERROR_MESSAGE_BASE, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveEntity(String name, String publicId, String baseURI, String systemId) Next to what the base class allows, explicitly allow (dynamic)DescribeFeatureTyperequests such ashttps://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.2commonly produced by GeoServer.Methods inherited from class org.geotools.util.PreventLocalEntityResolver
getAccess, getExternalSubset, resolveEntity
-
Field Details
-
INSTANCE
-
-
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)DescribeFeatureTyperequests such ashttps://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.2commonly produced by GeoServer.- Specified by:
resolveEntityin interfaceEntityResolver2- Overrides:
resolveEntityin classorg.geotools.util.PreventLocalEntityResolver- Throws:
SAXExceptionIOException
-