/** * If not already created, a new <code>injection-target</code> element will be created and returned. * Otherwise, the first existing <code>injection-target</code> element will be returned. * @return the instance defined for the element <code>injection-target</code> */ public InjectionTargetType<EnvEntryType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<EnvEntryType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * If not already created, a new <code>injection-target</code> element will be created and returned. * Otherwise, the first existing <code>injection-target</code> element will be returned. * @return the instance defined for the element <code>injection-target</code> */ public InjectionTargetType<EnvEntryType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<EnvEntryType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * If not already created, a new <code>injection-target</code> element will be created and returned. * Otherwise, the first existing <code>injection-target</code> element will be returned. * @return the instance defined for the element <code>injection-target</code> */ public InjectionTargetType<EnvEntryType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<EnvEntryType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * If not already created, a new <code>injection-target</code> element will be created and returned. * Otherwise, the first existing <code>injection-target</code> element will be returned. * @return the instance defined for the element <code>injection-target</code> */ public InjectionTargetType<EnvEntryType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<EnvEntryType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }