// Path: src/org/openddr/simpleapi/oddr/builder/device/DeviceBuilder.java
// public interface DeviceBuilder extends Builder {
// 
//     public void putDevice(String deviceID, List<String> initProperties);
// 
//     public void completeInit(Map<String, Device> devices);
// }


import java.util.ArrayList;
import java.util.List;
import org.openddr.simpleapi.oddr.builder.device.DeviceBuilder;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
/**
 * Copyright 2011 OpenDDR LLC
 * This software is distributed under the terms of the GNU Lesser General Public License.
 *
 *
 * This file is part of OpenDDR Simple APIs.
 * OpenDDR Simple APIs is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, version 3 of the License.
 *
 * OpenDDR Simple APIs 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Simple APIs.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package org.openddr.simpleapi.oddr.documenthandler;


public class DeviceBuilderHandler extends DefaultHandler {

    private Object BUILDER_DEVICE = "builder";
    private static final String ELEMENT_DEVICE = "device";
    private static final String ELEMENT_PROPERTY = "property";
    private static final String ELEMENT_LIST = "list";
    private static final String ELEMENT_VALUE = "value";
    private static final String ATTRIBUTE_DEVICE_ID = "id";
    private String character = "";
// Path: src/org/openddr/simpleapi/oddr/builder/device/DeviceBuilder.java
// public interface DeviceBuilder extends Builder {
// 
//     public void putDevice(String deviceID, List<String> initProperties);
// 
//     public void completeInit(Map<String, Device> devices);
// }


// Path: src/org/openddr/simpleapi/oddr/documenthandler/DeviceBuilderHandler.java
import java.util.ArrayList;
import java.util.List;
import org.openddr.simpleapi.oddr.builder.device.DeviceBuilder;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;

/**
 * Copyright 2011 OpenDDR LLC
 * This software is distributed under the terms of the GNU Lesser General Public License.
 *
 *
 * This file is part of OpenDDR Simple APIs.
 * OpenDDR Simple APIs is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, version 3 of the License.
 *
 * OpenDDR Simple APIs 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Simple APIs.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package org.openddr.simpleapi.oddr.documenthandler;


public class DeviceBuilderHandler extends DefaultHandler {

    private Object BUILDER_DEVICE = "builder";
    private static final String ELEMENT_DEVICE = "device";
    private static final String ELEMENT_PROPERTY = "property";
    private static final String ELEMENT_LIST = "list";
    private static final String ELEMENT_VALUE = "value";
    private static final String ATTRIBUTE_DEVICE_ID = "id";
    private String character = "";
    private DeviceBuilder deviceBuilderInstance;