/** * Creates a new <code>filter</code> element * @return the new created instance of <code>FilterType<WebFragmentDescriptor></code> */ public FilterType<WebFragmentDescriptor> createFilter() { return new FilterTypeImpl<WebFragmentDescriptor>(this, "filter", model); }
/** * 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<FilterType<T>> getOrCreateIcon() { List<Node> nodeList = childNode.get("icon"); if (nodeList != null && nodeList.size() > 0) { return new IconTypeImpl<FilterType<T>>(this, "icon", childNode, nodeList.get(0)); } return createIcon(); }
/** * 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<FilterType<T>> getOrCreateInitParam() { List<Node> nodeList = childNode.get("init-param"); if (nodeList != null && nodeList.size() > 0) { return new ParamValueTypeImpl<FilterType<T>>(this, "init-param", childNode, nodeList.get(0)); } return createInitParam(); }
/** * 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<FilterType<T>> getOrCreateIcon() { List<Node> nodeList = childNode.get("icon"); if (nodeList != null && nodeList.size() > 0) { return new IconTypeImpl<FilterType<T>>(this, "icon", childNode, nodeList.get(0)); } return createIcon(); }
/** * 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<FilterType<T>> getOrCreateInitParam() { List<Node> nodeList = childNode.get("init-param"); if (nodeList != null && nodeList.size() > 0) { return new ParamValueTypeImpl<FilterType<T>>(this, "init-param", childNode, nodeList.get(0)); } return createInitParam(); }
/** * Creates a new <code>filter</code> element * @return the new created instance of <code>FilterType<WebAppDescriptor></code> */ public FilterType<WebAppDescriptor> createFilter() { return new FilterTypeImpl<WebAppDescriptor>(this, "filter", model); }
/** * Creates a new <code>filter</code> element * @return the new created instance of <code>FilterType<WebAppDescriptor></code> */ public FilterType<WebAppDescriptor> createFilter() { return new FilterTypeImpl<WebAppDescriptor>(this, "filter", model); }
/** * Creates a new <code>filter</code> element * @return the new created instance of <code>FilterType<WebFragmentDescriptor></code> */ public FilterType<WebFragmentDescriptor> createFilter() { return new FilterTypeImpl<WebFragmentDescriptor>(this, "filter", model); }
/** * Returns all <code>filter</code> elements * @return list of <code>filter</code> */ public List<FilterType<WebFragmentDescriptor>> getAllFilter() { List<FilterType<WebFragmentDescriptor>> list = new ArrayList<FilterType<WebFragmentDescriptor>>(); List<Node> nodeList = model.get("filter"); for(Node node: nodeList) { FilterType<WebFragmentDescriptor> type = new FilterTypeImpl<WebFragmentDescriptor>(this, "filter", model, node); list.add(type); } return list; }
/** * Returns all <code>filter</code> elements * @return list of <code>filter</code> */ public List<FilterType<WebAppDescriptor>> getAllFilter() { List<FilterType<WebAppDescriptor>> list = new ArrayList<FilterType<WebAppDescriptor>>(); List<Node> nodeList = model.get("filter"); for(Node node: nodeList) { FilterType<WebAppDescriptor> type = new FilterTypeImpl<WebAppDescriptor>(this, "filter", model, node); list.add(type); } return list; }
/** * Returns all <code>filter</code> elements * @return list of <code>filter</code> */ public List<FilterType<WebAppDescriptor>> getAllFilter() { List<FilterType<WebAppDescriptor>> list = new ArrayList<FilterType<WebAppDescriptor>>(); List<Node> nodeList = model.get("filter"); for(Node node: nodeList) { FilterType<WebAppDescriptor> type = new FilterTypeImpl<WebAppDescriptor>(this, "filter", model, node); list.add(type); } return list; }
/** * Returns all <code>filter</code> elements * @return list of <code>filter</code> */ public List<FilterType<WebFragmentDescriptor>> getAllFilter() { List<FilterType<WebFragmentDescriptor>> list = new ArrayList<FilterType<WebFragmentDescriptor>>(); List<Node> nodeList = model.get("filter"); for(Node node: nodeList) { FilterType<WebFragmentDescriptor> type = new FilterTypeImpl<WebFragmentDescriptor>(this, "filter", model, node); list.add(type); } return list; }
/** * If not already created, a new <code>filter</code> element will be created and returned. * Otherwise, the first existing <code>filter</code> element will be returned. * @return the instance defined for the element <code>filter</code> */ public FilterType<WebFragmentDescriptor> getOrCreateFilter() { List<Node> nodeList = model.get("filter"); if (nodeList != null && nodeList.size() > 0) { return new FilterTypeImpl<WebFragmentDescriptor>(this, "filter", model, nodeList.get(0)); } return createFilter(); }
/** * If not already created, a new <code>filter</code> element will be created and returned. * Otherwise, the first existing <code>filter</code> element will be returned. * @return the instance defined for the element <code>filter</code> */ public FilterType<WebAppDescriptor> getOrCreateFilter() { List<Node> nodeList = model.get("filter"); if (nodeList != null && nodeList.size() > 0) { return new FilterTypeImpl<WebAppDescriptor>(this, "filter", model, nodeList.get(0)); } return createFilter(); }
/** * If not already created, a new <code>filter</code> element will be created and returned. * Otherwise, the first existing <code>filter</code> element will be returned. * @return the instance defined for the element <code>filter</code> */ public FilterType<WebAppDescriptor> getOrCreateFilter() { List<Node> nodeList = model.get("filter"); if (nodeList != null && nodeList.size() > 0) { return new FilterTypeImpl<WebAppDescriptor>(this, "filter", model, nodeList.get(0)); } return createFilter(); }
/** * If not already created, a new <code>filter</code> element will be created and returned. * Otherwise, the first existing <code>filter</code> element will be returned. * @return the instance defined for the element <code>filter</code> */ public FilterType<WebFragmentDescriptor> getOrCreateFilter() { List<Node> nodeList = model.get("filter"); if (nodeList != null && nodeList.size() > 0) { return new FilterTypeImpl<WebFragmentDescriptor>(this, "filter", model, nodeList.get(0)); } return createFilter(); }