/** * If not already created, a new <code>icon</code> element will be created and returned. * Otherwise, the first existing <code>icon</code> element will be returned. * @return the instance defined for the element <code>icon</code> */ public IconType<FaceletTaglibTagAttributeType<T>> getOrCreateIcon() { List<Node> nodeList = childNode.get("icon"); if (nodeList != null && nodeList.size() > 0) { return new IconTypeImpl<FaceletTaglibTagAttributeType<T>>(this, "icon", childNode, nodeList.get(0)); } return createIcon(); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public FacesConfigPropertyType<FacesConfigValidatorType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new FacesConfigPropertyTypeImpl<FacesConfigValidatorType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * If not already created, a new <code>icon</code> element will be created and returned. * Otherwise, the first existing <code>icon</code> element will be returned. * @return the instance defined for the element <code>icon</code> */ public IconType<SessionBeanType<T>> getOrCreateIcon() { List<Node> nodeList = childNode.get("icon"); if (nodeList != null && nodeList.size() > 0) { return new IconTypeImpl<SessionBeanType<T>>(this, "icon", childNode, nodeList.get(0)); } return createIcon(); }
/** * If not already created, a new <code>pre-destroy</code> element will be created and returned. * Otherwise, the first existing <code>pre-destroy</code> element will be returned. * @return the instance defined for the element <code>pre-destroy</code> */ public LifecycleCallbackType<SessionBeanType<T>> getOrCreatePreDestroy() { List<Node> nodeList = childNode.get("pre-destroy"); if (nodeList != null && nodeList.size() > 0) { return new LifecycleCallbackTypeImpl<SessionBeanType<T>>(this, "pre-destroy", childNode, nodeList.get(0)); } return createPreDestroy(); }
/** * If not already created, a new <code>service-ref</code> element will be created and returned. * Otherwise, the first existing <code>service-ref</code> element will be returned. * @return the instance defined for the element <code>service-ref</code> */ public ServiceRefType<SessionBeanType<T>> getOrCreateServiceRef() { List<Node> nodeList = childNode.get("service-ref"); if (nodeList != null && nodeList.size() > 0) { return new ServiceRefTypeImpl<SessionBeanType<T>>(this, "service-ref", childNode, nodeList.get(0)); } return createServiceRef(); }
/** * 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<ResourceEnvRefType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<ResourceEnvRefType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * If not already created, a new <code>init-param</code> element will be created and returned. * Otherwise, the first existing <code>init-param</code> element will be returned. * @return the instance defined for the element <code>init-param</code> */ public ParamValueType<ValidatorType<T>> getOrCreateInitParam() { List<Node> nodeList = childNode.get("init-param"); if (nodeList != null && nodeList.size() > 0) { return new ParamValueTypeImpl<ValidatorType<T>>(this, "init-param", childNode, nodeList.get(0)); } return createInitParam(); }
/** * If not already created, a new <code>ordering</code> element will be created and returned. * Otherwise, the first existing <code>ordering</code> element will be returned. * @return the instance defined for the element <code>ordering</code> */ public FacesConfigOrderingType<WebFacesConfigDescriptor> getOrCreateOrdering() { List<Node> nodeList = model.get("ordering"); if (nodeList != null && nodeList.size() > 0) { return new FacesConfigOrderingTypeImpl<WebFacesConfigDescriptor>(this, "ordering", model, nodeList.get(0)); } return createOrdering(); }
/** * If not already created, a new <code>icon</code> element will be created and returned. * Otherwise, the first existing <code>icon</code> element will be returned. * @return the instance defined for the element <code>icon</code> */ public IconType<FaceletTaglibTagValidatorType<T>> getOrCreateIcon() { List<Node> nodeList = childNode.get("icon"); if (nodeList != null && nodeList.size() > 0) { return new IconTypeImpl<FaceletTaglibTagValidatorType<T>>(this, "icon", childNode, nodeList.get(0)); } return createIcon(); }