Here you can find the source of isSuppressJoinFailure(Node node)
Parameter | Description |
---|---|
node | a parameter |
public static boolean isSuppressJoinFailure(Node node)
//package com.java2s; //License from project: Open Source License import org.w3c.dom.Node; public class Main { /**/*w w w .ja v a 2 s . com*/ * Checks whether the Boolean attribute suppressJoinFailure is set * at the BPEL activity represented by the node. If it is not set, the * value will be determined recursively from one of the parent nodes. * Default case: false (as in BPEL) * * @param node * @return */ public static boolean isSuppressJoinFailure(Node node) { boolean result = false; if (node.getAttributes() != null) { if (node.getAttributes().getNamedItem("suppressJoinFailure") != null) { if (node.getAttributes().getNamedItem("suppressJoinFailure").getNodeValue() .equalsIgnoreCase("yes")) { result = true; } } else { if (node.getParentNode() != null) { result = isSuppressJoinFailure(node.getParentNode()); } } } return result; } }