Here you can find the source of isCreateInstanceSet(Node node)
Parameter | Description |
---|---|
node | a parameter |
public static boolean isCreateInstanceSet(Node node)
//package com.java2s; //License from project: Open Source License import org.w3c.dom.Node; public class Main { /**//www.java2s . c om * Checks whether the optional attribute createInstance is set for * a specific node. That relates to receive and pick activities. * * @param node * @return whether the attribute createInstance is set */ public static boolean isCreateInstanceSet(Node node) { boolean createInstance = false; if (node.getAttributes().getNamedItem("createInstance") != null) { if (node.getAttributes().getNamedItem("createInstance").getNodeValue().equalsIgnoreCase("yes")) createInstance = true; } return createInstance; } }