/**
  * Markup divergent.
  *
  * @param a the a
  * @return true, if successful
  */
 private boolean markupDivergent(final Aspect a) {
   if (a.getNotification() != null
       && a.getNotification().trim().length() > 0
       && a.getRangeList() != null
       && !a.getRangeList().isEmpty()
       && a.getRangeList().size() > 1) {
     String content = "";
     int start = 0;
     int end = 0;
     boolean divergent = false;
     boolean div = true;
     for (TaggingRange tr : a.getRangeList()) {
       start = tr.getStart();
       end = start + tr.getLength();
       div = true;
       if (a.getNotification().length() <= end) {
         content = a.getNotification().substring(start, end);
         if (tr.getType() != null) {
           if (tr.getType().equalsIgnoreCase(content)
               || PDRConfigProvider.getLabelOfMarkup(tr.getName(), tr.getType(), null, null)
                   .equalsIgnoreCase(content)) {
             div = false;
           }
         }
         if (tr.getType() != null && tr.getSubtype() != null) {
           if (tr.getSubtype().equalsIgnoreCase(content)
               || PDRConfigProvider.getLabelOfMarkup(
                       tr.getName(), tr.getType(), tr.getSubtype(), null)
                   .equalsIgnoreCase(content)) {
             div = false;
           }
         }
         if (tr.getType() != null && tr.getSubtype() != null && tr.getRole() != null) {
           if (tr.getRole().equalsIgnoreCase(content)
               || PDRConfigProvider.getLabelOfMarkup(
                       tr.getName(), tr.getType(), tr.getSubtype(), tr.getRole())
                   .equalsIgnoreCase(content)) {
             div = false;
           }
         }
       }
       if (div) {
         divergent = true;
       }
     }
     return divergent;
   }
   return false;
 }
 @Override
 public final boolean select(final Object element) {
   if (_objectIds != null) {
     if (element instanceof Aspect) {
       Aspect a = (Aspect) element;
       if (a != null
           && a.getValidation() != null
           && a.getValidation().getValidationStms() != null
           && !a.getValidation().getValidationStms().isEmpty()) {
         for (ValidationStm vStm : a.getValidation().getValidationStms()) {
           if (vStm.getReference() != null && vStm.getReference().getSourceId() != null) {
             if (_objectIds.contains(vStm.getReference().getSourceId().toString())) {
               return true;
             }
           }
         }
         return false;
       }
     }
     return false;
   } else {
     return true;
   }
 }