Package org.freerealm

Examples of org.freerealm.UnitContainerManager.clear()


        return xml.toString();
    }

    public UnitContainerManager initializeFromNode(Realm realm, Node node) {
        UnitContainerManager unitContainerManager = new UnitContainerManager(containerUnit);
        unitContainerManager.clear();
        for (Node subNode = node.getFirstChild(); subNode != null; subNode = subNode.getNextSibling()) {
            if (subNode.getNodeType() == Node.ELEMENT_NODE) {
                int unitId = Integer.parseInt(subNode.getFirstChild().getNodeValue());
                unitContainerManager.addUnit(unitId);
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.