/** * Creates a new <code>locale-encoding-mapping-list</code> element * @return the new created instance of <code>LocaleEncodingMappingListType<WebFragmentDescriptor></code> */ public LocaleEncodingMappingListType<WebFragmentDescriptor> createLocaleEncodingMappingList() { return new LocaleEncodingMappingListTypeImpl<WebFragmentDescriptor>(this, "locale-encoding-mapping-list", model); }
/** * If not already created, a new <code>locale-encoding-mapping</code> element will be created and returned. * Otherwise, the first existing <code>locale-encoding-mapping</code> element will be returned. * @return the instance defined for the element <code>locale-encoding-mapping</code> */ public LocaleEncodingMappingType<LocaleEncodingMappingListType<T>> getOrCreateLocaleEncodingMapping() { List<Node> nodeList = childNode.get("locale-encoding-mapping"); if (nodeList != null && nodeList.size() > 0) { return new LocaleEncodingMappingTypeImpl<LocaleEncodingMappingListType<T>>(this, "locale-encoding-mapping", childNode, nodeList.get(0)); } return createLocaleEncodingMapping(); }
/** * If not already created, a new <code>locale-encoding-mapping</code> element will be created and returned. * Otherwise, the first existing <code>locale-encoding-mapping</code> element will be returned. * @return the instance defined for the element <code>locale-encoding-mapping</code> */ public LocaleEncodingMappingType<LocaleEncodingMappingListType<T>> getOrCreateLocaleEncodingMapping() { List<Node> nodeList = childNode.get("locale-encoding-mapping"); if (nodeList != null && nodeList.size() > 0) { return new LocaleEncodingMappingTypeImpl<LocaleEncodingMappingListType<T>>(this, "locale-encoding-mapping", childNode, nodeList.get(0)); } return createLocaleEncodingMapping(); }
/** * Creates a new <code>locale-encoding-mapping-list</code> element * @return the new created instance of <code>LocaleEncodingMappingListType<WebAppDescriptor></code> */ public LocaleEncodingMappingListType<WebAppDescriptor> createLocaleEncodingMappingList() { return new LocaleEncodingMappingListTypeImpl<WebAppDescriptor>(this, "locale-encoding-mapping-list", model); }
/** * Creates a new <code>locale-encoding-mapping-list</code> element * @return the new created instance of <code>LocaleEncodingMappingListType<WebFragmentDescriptor></code> */ public LocaleEncodingMappingListType<WebFragmentDescriptor> createLocaleEncodingMappingList() { return new LocaleEncodingMappingListTypeImpl<WebFragmentDescriptor>(this, "locale-encoding-mapping-list", model); }
/** * Creates a new <code>locale-encoding-mapping-list</code> element * @return the new created instance of <code>LocaleEncodingMappingListType<WebAppDescriptor></code> */ public LocaleEncodingMappingListType<WebAppDescriptor> createLocaleEncodingMappingList() { return new LocaleEncodingMappingListTypeImpl<WebAppDescriptor>(this, "locale-encoding-mapping-list", model); }
/** * Returns all <code>locale-encoding-mapping-list</code> elements * @return list of <code>locale-encoding-mapping-list</code> */ public List<LocaleEncodingMappingListType<WebAppDescriptor>> getAllLocaleEncodingMappingList() { List<LocaleEncodingMappingListType<WebAppDescriptor>> list = new ArrayList<LocaleEncodingMappingListType<WebAppDescriptor>>(); List<Node> nodeList = model.get("locale-encoding-mapping-list"); for(Node node: nodeList) { LocaleEncodingMappingListType<WebAppDescriptor> type = new LocaleEncodingMappingListTypeImpl<WebAppDescriptor>(this, "locale-encoding-mapping-list", model, node); list.add(type); } return list; }
/** * Returns all <code>locale-encoding-mapping-list</code> elements * @return list of <code>locale-encoding-mapping-list</code> */ public List<LocaleEncodingMappingListType<WebFragmentDescriptor>> getAllLocaleEncodingMappingList() { List<LocaleEncodingMappingListType<WebFragmentDescriptor>> list = new ArrayList<LocaleEncodingMappingListType<WebFragmentDescriptor>>(); List<Node> nodeList = model.get("locale-encoding-mapping-list"); for(Node node: nodeList) { LocaleEncodingMappingListType<WebFragmentDescriptor> type = new LocaleEncodingMappingListTypeImpl<WebFragmentDescriptor>(this, "locale-encoding-mapping-list", model, node); list.add(type); } return list; }
/** * Returns all <code>locale-encoding-mapping-list</code> elements * @return list of <code>locale-encoding-mapping-list</code> */ public List<LocaleEncodingMappingListType<WebAppDescriptor>> getAllLocaleEncodingMappingList() { List<LocaleEncodingMappingListType<WebAppDescriptor>> list = new ArrayList<LocaleEncodingMappingListType<WebAppDescriptor>>(); List<Node> nodeList = model.get("locale-encoding-mapping-list"); for(Node node: nodeList) { LocaleEncodingMappingListType<WebAppDescriptor> type = new LocaleEncodingMappingListTypeImpl<WebAppDescriptor>(this, "locale-encoding-mapping-list", model, node); list.add(type); } return list; }
/** * Returns all <code>locale-encoding-mapping-list</code> elements * @return list of <code>locale-encoding-mapping-list</code> */ public List<LocaleEncodingMappingListType<WebFragmentDescriptor>> getAllLocaleEncodingMappingList() { List<LocaleEncodingMappingListType<WebFragmentDescriptor>> list = new ArrayList<LocaleEncodingMappingListType<WebFragmentDescriptor>>(); List<Node> nodeList = model.get("locale-encoding-mapping-list"); for(Node node: nodeList) { LocaleEncodingMappingListType<WebFragmentDescriptor> type = new LocaleEncodingMappingListTypeImpl<WebFragmentDescriptor>(this, "locale-encoding-mapping-list", model, node); list.add(type); } return list; }
/** * If not already created, a new <code>locale-encoding-mapping-list</code> element will be created and returned. * Otherwise, the first existing <code>locale-encoding-mapping-list</code> element will be returned. * @return the instance defined for the element <code>locale-encoding-mapping-list</code> */ public LocaleEncodingMappingListType<WebAppDescriptor> getOrCreateLocaleEncodingMappingList() { List<Node> nodeList = model.get("locale-encoding-mapping-list"); if (nodeList != null && nodeList.size() > 0) { return new LocaleEncodingMappingListTypeImpl<WebAppDescriptor>(this, "locale-encoding-mapping-list", model, nodeList.get(0)); } return createLocaleEncodingMappingList(); }
/** * If not already created, a new <code>locale-encoding-mapping-list</code> element will be created and returned. * Otherwise, the first existing <code>locale-encoding-mapping-list</code> element will be returned. * @return the instance defined for the element <code>locale-encoding-mapping-list</code> */ public LocaleEncodingMappingListType<WebFragmentDescriptor> getOrCreateLocaleEncodingMappingList() { List<Node> nodeList = model.get("locale-encoding-mapping-list"); if (nodeList != null && nodeList.size() > 0) { return new LocaleEncodingMappingListTypeImpl<WebFragmentDescriptor>(this, "locale-encoding-mapping-list", model, nodeList.get(0)); } return createLocaleEncodingMappingList(); }
/** * If not already created, a new <code>locale-encoding-mapping-list</code> element will be created and returned. * Otherwise, the first existing <code>locale-encoding-mapping-list</code> element will be returned. * @return the instance defined for the element <code>locale-encoding-mapping-list</code> */ public LocaleEncodingMappingListType<WebAppDescriptor> getOrCreateLocaleEncodingMappingList() { List<Node> nodeList = model.get("locale-encoding-mapping-list"); if (nodeList != null && nodeList.size() > 0) { return new LocaleEncodingMappingListTypeImpl<WebAppDescriptor>(this, "locale-encoding-mapping-list", model, nodeList.get(0)); } return createLocaleEncodingMappingList(); }
/** * If not already created, a new <code>locale-encoding-mapping-list</code> element will be created and returned. * Otherwise, the first existing <code>locale-encoding-mapping-list</code> element will be returned. * @return the instance defined for the element <code>locale-encoding-mapping-list</code> */ public LocaleEncodingMappingListType<WebFragmentDescriptor> getOrCreateLocaleEncodingMappingList() { List<Node> nodeList = model.get("locale-encoding-mapping-list"); if (nodeList != null && nodeList.size() > 0) { return new LocaleEncodingMappingListTypeImpl<WebFragmentDescriptor>(this, "locale-encoding-mapping-list", model, nodeList.get(0)); } return createLocaleEncodingMappingList(); }