/** * 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); }
/** * 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<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; }
/** * 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(); }