/**
 * File: atomicfactorypower.cpp
 * Created by: <Joern Reimerdes>
 * Created on: 2004/10/13 18:00 
 * @file
 * $Id$
 * $Revision$
 * $Author$
 * $Date$
 *
 * This file is a part of The iWear Framework.
 * In particular is this file a part of the Framework context Library
 *
 * The iWear Framework is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by the
 * Free Software Foundation as in version 2 of the License.

 * 
 * The iWear Framework is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * The iWear Framework; if not, write to the Free Software Foundation, Inc., 59
 * Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#include <iwear-context/contextxmlfactoryatomic.h>

namespace iwear {
namespace context {

    /** Destroys the Factory and objects that where used in the factory.
     *
     */
    AtomicFactoryPower::~AtomicFactoryPower(){
    }

    /** This method created an PowerContext from the DOMElement.
     *
     */
    ContextObject* 
    AtomicFactoryPower::create_atomic_context(string context_name, 
					       DOMElement* context_node){
	ContextObject* context_object;
	XMLHandler* xml_handler = this->context_xml_handler->get_xml_handler();
	DOMElement* power_node = 
	    xml_handler->get_first_element_by_name(context_node, 
						   NODE_POWER);
	
	// todo implement

	return context_object;
    }



} // context
} // iwear

