Interface QNameFilter

All Known Implementing Classes:
QNameFilterImpl

public interface QNameFilter
Filters QNames and excludes any that are in a predefined list.
Author:
steveglover, Gethin James
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    filterQName(Collection<QName> typesToFilter)
    Filters out any QName defined in the "excludedTypes" property
    void
     
    boolean
    isExcluded(QName typeQName)
    Indicates that this QName should be excluded.
    void
    setExcluded(QName typeQName, boolean excluded)
    Exclude the type
  • Field Details

  • Method Details

    • filterQName

      Collection<QName> filterQName(Collection<QName> typesToFilter)
      Filters out any QName defined in the "excludedTypes" property
      Parameters:
      typesToFilter - - original list
      Returns:
      the filtered list
    • isExcluded

      boolean isExcluded(QName typeQName)
      Indicates that this QName should be excluded.
      Parameters:
      typeQName - QName
      Returns:
      boolean true if it is excluded
    • setExcluded

      void setExcluded(QName typeQName, boolean excluded)
      Exclude the type
      Parameters:
      typeQName - the type to exclude
    • initFilter

      void initFilter()