Class GMLObjectTypeFilter

java.lang.Object
org.opengis.cite.iso19136.util.GMLObjectTypeFilter
All Implemented Interfaces:
SchemaComponentFilter

public class GMLObjectTypeFilter extends Object implements SchemaComponentFilter
A schema component filter that accepts GML object types--types that derive directly or indirectly from gml:AbstractGMLType. All other type definitions are rejected. The supplied collection is expected to be of the type Map<QName, XSTypeDefinition>.
  • Constructor Details

    • GMLObjectTypeFilter

      public GMLObjectTypeFilter()
  • Method Details

    • doFilter

      public Map<QName,org.apache.xerces.xs.XSObject> doFilter(Map<QName,org.apache.xerces.xs.XSObject> components)
      Description copied from interface: SchemaComponentFilter
      Filters the given collection of top-level schema components according to specific acceptance criteria. The supplied Map object is unmodified.
      Specified by:
      doFilter in interface SchemaComponentFilter
      Parameters:
      components - A (possibly immutable) collection of schema components, keyed by QName.
      Returns:
      A new Map object containing those components from the given collection that satisfy the filtering criteria.