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
    • Method Detail

      • 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()