code: protected boolean _setProperty(String name, Object value) throws SAXNotSupportedException{
          if(LEXICAL_HANDLER.equals(name) || LEXICAL_HANDLER_ALT.equals(name)){
              if(value==null || value instanceof LexicalHandler){
                  handler.setLexicalHandler((LexicalHandler)value);
                  return true;
              }else
                  throw new SAXNotSupportedException("value must implement "+LexicalHandler.class);
          }else if(DECL_HANDLER.equals(name) || DECL_HANDLER_ALT.equals(name)){
              if(value==null || value instanceof DeclHandler){
                  handler.setDeclHandler((DeclHandler)value);
                  return true;
              }else
                  throw new SAXNotSupportedException("value must implement "+DeclHandler.class);
          }else
              return false;
      }
docs: /*-------------------------------------------------[ Properties ]---------------------------------------------------