/** * Determined if an annotation is exportable based on the filter that might have been setup. * * @param annotation the Annotation for which we want to assess if it is exportable. * * @return true is the Annotation is exportabl, false otherwise. */ public boolean isExportable( Annotation annotation ) { if ( annotation.getCvTopic() != null && annotationFilters != null ) { if ( annotationFilters.contains( annotation.getCvTopic() ) ) { return false; } } // the no-export annotation remains filtered out. return !AnnotationFilter.getInstance().isFilteredOut( annotation ); }
/** * Determined if an annotation is exportable based on the filter that might have been setup. * * @param annotation the Annotation for which we want to assess if it is exportable. * * @return true is the Annotation is exportabl, false otherwise. */ public boolean isExportable( Annotation annotation ) { if ( annotation.getCvTopic() != null && annotationFilters != null ) { if ( annotationFilters.contains( annotation.getCvTopic() ) ) { return false; } } // the no-export annotation remains filtered out. return !AnnotationFilter.getInstance().isFilteredOut( annotation ); }
/** * Determined if an annotation is exportable based on the filter that might have been setup. * * @param annotation the Annotation for which we want to assess if it is exportable. * * @return true is the Annotation is exportabl, false otherwise. */ public boolean isExportable( Annotation annotation ) { if ( annotation.getCvTopic() != null && annotationFilters != null ) { if ( annotationFilters.contains( annotation.getCvTopic() ) ) { return false; } } // the no-export annotation remains filtered out. return !AnnotationFilter.getInstance().isFilteredOut( annotation ); }