Package org.freerealm.resource.bonus

Examples of org.freerealm.resource.bonus.BonusResourceImpl.addProperty()


        bonusResourceImpl.setName(XMLConverterUtility.findNode(node, "name").getFirstChild().getNodeValue());
        Node propertiesNode = XMLConverterUtility.findNode(node, "properties");
        for (Node propertyNode = propertiesNode.getFirstChild(); propertyNode != null; propertyNode = propertyNode.getNextSibling()) {
            if (propertyNode.getNodeType() == Node.ELEMENT_NODE) {
                Property property = PropertyFactory.createProperty(realm, propertyNode);
                bonusResourceImpl.addProperty(property);
            }
        }
        return bonusResourceImpl;
    }
}
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.