/** * If not already created, a new <code>exclude-set</code> element will be created and returned. * Otherwise, the first existing <code>exclude-set</code> element will be returned. * @return the instance defined for the element <code>exclude-set</code> */ public PathSetType<FilterType<T>> getOrCreateExcludeSet() { List<Node> nodeList = childNode.get("exclude-set"); if (nodeList != null && nodeList.size() > 0) { return new PathSetTypeImpl<FilterType<T>>(this, "exclude-set", childNode, nodeList.get(0)); } return createExcludeSet(); }