Class WfsFeatureType

java.lang.Object
com.luciad.formats.wfs.WfsFeatureType
All Implemented Interfaces:
AutoCloseable

public final class WfsFeatureType extends Object implements AutoCloseable
Contains information about a feature type as described in a WFS GetCapabilities response.
Since:
2026.0
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getBounds

      @NotNull public WfsBoundingBox getBounds()
      Returns the feature type's bounding box.
      Returns:
      the feature type's bounding box.
    • getTitle

      @NotNull public String getTitle()
      Returns the feature type's title.
      Returns:
      the feature type's title.
    • getIdentifier

      @NotNull public String getIdentifier()
      Returns the feature type's identifier.
      Returns:
      the feature type's identifier.
    • getAbstract

      @Nullable public String getAbstract()
      Returns the feature type's abstract.
      Returns:
      the feature type's abstract.
    • getKeywords

      @NotNull public List<@NotNull String> getKeywords()
      Returns the feature type's keywords.

      Returns an empty vector when the feature type doesn't have a keyword.

      Returns:
      the feature type's keywords. Returns an empty vector when the feature type doesn't have a keyword.
    • getOutputFormats

      @NotNull public List<@NotNull String> getOutputFormats()
      Returns the output formats this feature type advertises for GetFeature responses, for example "application/json" or "application/gml+xml; version=3.2".

      These are the formats listed for this feature type in the WFS capabilities. When the capabilities list no formats for this feature type, this method instead returns the formats that the server advertises for its GetFeature operation: those apply to every feature type, and some servers advertise formats only there. Returns an empty vector when the capabilities advertise no output formats at either level.

      Returns:
      the feature type's advertised output formats, falling back to the server's GetFeature output formats, or an empty vector when none were advertised.
      Since:
      2026.1
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object