/** * If not already created, a new <code>convert</code> element will be created and returned. * Otherwise, the first existing <code>convert</code> element will be returned. * @return the instance defined for the element <code>convert</code> */ public Convert<ElementCollection<T>> getOrCreateConvert() { List<Node> nodeList = childNode.get("convert"); if (nodeList != null && nodeList.size() > 0) { return new ConvertImpl<ElementCollection<T>>(this, "convert", childNode, nodeList.get(0)); } return createConvert(); }
/** * If not already created, a new <code>convert</code> element will be created and returned. * Otherwise, the first existing <code>convert</code> element will be returned. * @return the instance defined for the element <code>convert</code> */ public Convert<ElementCollection<T>> getOrCreateConvert() { List<Node> nodeList = childNode.get("convert"); if (nodeList != null && nodeList.size() > 0) { return new ConvertImpl<ElementCollection<T>>(this, "convert", childNode, nodeList.get(0)); } return createConvert(); }