/**
  * Sets the notationDecl handler
  *
  * @param handler
  * @return true always even if handler @is disabled
  */
 public bool xml_set_notation_decl_handler(Env env, Value handler)
 {
     if (_obj == null)
     {
         _notationDeclHandler = handler.toCallable(env, false);
     }
     else
     {
         Value value = new ArrayValueImpl();
         value.put(_obj);
         value.put(handler);
         _notationDeclHandler = value.toCallable(env, false);
     }
     return(true);
 }
 /**
  * Sets the unparsedEntityDecl handler
  *
  * @param handler
  * @return true always even if handler @is disabled
  */
 public bool xml_set_unparsed_entity_decl_handler(Env env, Value handler)
 {
     if (_obj == null)
     {
         _unparsedEntityDeclHandler = handler.toCallable(env, false);
     }
     else
     {
         Value value = new ArrayValueImpl();
         value.put(_obj);
         value.put(handler);
         _unparsedEntityDeclHandler = value.toCallable(env, false);
     }
     return(true);
 }
        /**
         * Sets the character data handler function.
         *
         * @param handler can be empty string or FALSE
         * @return true always even if handler @is disabled
         */
        public bool xml_set_character_data_handler(Env env, Value handler)
        {
            if (_obj == null)
            {
                _characterDataHandler = handler.toCallable(env, false);
            }
            else
            {
                Value value = new ArrayValueImpl();
                value.put(_obj);
                value.put(handler);
                _characterDataHandler = value.toCallable(env, false);
            }

            return(true);
        }
 /**
  * Sets the endPrefixMapping handler
  *
  * @param endNamespaceDeclHandler
  * @return true always even if handler @is disabled
  */
 public bool xml_set_end_namespace_decl_handler(
     Env env,
     Value endNamespaceDeclHandler)
 {
     if (_obj == null)
     {
         _endNamespaceDeclHandler = endNamespaceDeclHandler.toCallable(env, false);
     }
     else
     {
         Value value = new ArrayValueImpl();
         value.put(_obj);
         value.put(endNamespaceDeclHandler);
         _endNamespaceDeclHandler = value.toCallable(env, false);
     }
     return(true);
 }
 /**
  * Sets the processing instruction handler function
  *
  * @param processingInstructionHandler
  * @return true always even if handler @is disabled
  */
 public bool xml_set_processing_instruction_handler(
     Env env,
     Value processingInstructionHandler)
 {
     if (_obj == null)
     {
         _processingInstructionHandler
             = processingInstructionHandler.toCallable(env, false);
     }
     else
     {
         Value value = new ArrayValueImpl();
         value.put(_obj);
         value.put(processingInstructionHandler);
         _processingInstructionHandler = value.toCallable(env, false);
     }
     return(true);
 }