/** * If not already created, a new <code>multipart-config</code> element with the given value will be created. * Otherwise, the existing <code>multipart-config</code> element will be returned. * @return a new or existing instance of <code>MultipartConfigType<ServletType<T>></code> */ public MultipartConfigType<ServletType<T>> getOrCreateMultipartConfig() { Node node = childNode.getOrCreate("multipart-config"); MultipartConfigType<ServletType<T>> multipartConfig = new MultipartConfigTypeImpl<ServletType<T>>(this, "multipart-config", childNode, node); return multipartConfig; }
/** * If not already created, a new <code>multipart-config</code> element with the given value will be created. * Otherwise, the existing <code>multipart-config</code> element will be returned. * @return a new or existing instance of <code>MultipartConfigType<ServletType<T>></code> */ public MultipartConfigType<ServletType<T>> getOrCreateMultipartConfig() { Node node = childNode.getOrCreate("multipart-config"); MultipartConfigType<ServletType<T>> multipartConfig = new MultipartConfigTypeImpl<ServletType<T>>(this, "multipart-config", childNode, node); return multipartConfig; }