@Override public boolean switchOffFeature(AttributeRole attributeRole) throws OperatorException {
  Attribute attribute=attributeRole.getAttribute();
  Matcher nameSkipMatcher=skipPattern.matcher(attribute.getName());
  Matcher specialNameSkipMatcher=null;
  if (attributeRole.isSpecial()) {
    specialNameSkipMatcher=skipPattern.matcher(attributeRole.getSpecialName());
  }
  Matcher exceptionMatcher=exceptionPattern != null ? exceptionPattern.matcher(attribute.getName()) : null;
  Matcher specialExceptionMatcher=null;
  if (attributeRole.isSpecial()) {
    specialExceptionMatcher=exceptionPattern != null ? exceptionPattern.matcher(attributeRole.getSpecialName()) : null;
  }
  return (nameSkipMatcher.matches() || ((specialNameSkipMatcher != null) && (specialNameSkipMatcher.matches()))) && ((exceptionMatcher == null) || (!exceptionMatcher.matches())) && ((specialExceptionMatcher == null) || (!specialExceptionMatcher.matches()));
}

@ Override public boolean switchOffFeature ( AttributeRole attributeRole ) throws OperatorException { Attribute attribute = attributeRole . getAttribute ( ) ; Matcher nameSkipMatcher = skipPattern . matcher ( attribute . getName ( ) ) ; Matcher specialNameSkipMatcher = null ; if ( attributeRole . isSpecial ( ) ) { specialNameSkipMatcher = skipPattern . matcher ( attributeRole . getSpecialName ( ) ) ; } Matcher exceptionMatcher = exceptionPattern != null ? exceptionPattern . matcher ( attribute . getName ( ) ) : null ; Matcher specialExceptionMatcher = null ; if ( attributeRole . isSpecial ( ) ) { specialExceptionMatcher = exceptionPattern != null ? exceptionPattern . matcher ( attributeRole . getSpecialName ( ) ) : null ; } return ( nameSkipMatcher . matches ( ) || ( ( specialNameSkipMatcher != null ) && ( specialNameSkipMatcher . matches ( ) ) ) ) && ( ( exceptionMatcher == null ) || ( ! exceptionMatcher . matches ( ) ) ) && ( ( specialExceptionMatcher == null ) || ( ! specialExceptionMatcher . matches ( ) ) ) ; }
implements the method required by the superclass . for features whose name matches the input name ( regular expression ) . if the input name does not match the the input name ( regular expression ) will not be switched off . if no parameter was provided , false is always returned , so no feature is switched off .
