/** * Creates a new <code>public-render-parameter</code> element * @return the new created instance of <code>PublicRenderParameterType<PortletDescriptor></code> */ public PublicRenderParameterType<PortletDescriptor> createPublicRenderParameter() { return new PublicRenderParameterTypeImpl<PortletDescriptor>(this, "public-render-parameter", model); }
/** * Creates a new <code>public-render-parameter</code> element * @return the new created instance of <code>PublicRenderParameterType<PortletDescriptor></code> */ public PublicRenderParameterType<PortletDescriptor> createPublicRenderParameter() { return new PublicRenderParameterTypeImpl<PortletDescriptor>(this, "public-render-parameter", model); }
/** * Returns all <code>public-render-parameter</code> elements * @return list of <code>public-render-parameter</code> */ public List<PublicRenderParameterType<PortletDescriptor>> getAllPublicRenderParameter() { List<PublicRenderParameterType<PortletDescriptor>> list = new ArrayList<PublicRenderParameterType<PortletDescriptor>>(); List<Node> nodeList = model.get("public-render-parameter"); for(Node node: nodeList) { PublicRenderParameterType<PortletDescriptor> type = new PublicRenderParameterTypeImpl<PortletDescriptor>(this, "public-render-parameter", model, node); list.add(type); } return list; }
/** * Returns all <code>public-render-parameter</code> elements * @return list of <code>public-render-parameter</code> */ public List<PublicRenderParameterType<PortletDescriptor>> getAllPublicRenderParameter() { List<PublicRenderParameterType<PortletDescriptor>> list = new ArrayList<PublicRenderParameterType<PortletDescriptor>>(); List<Node> nodeList = model.get("public-render-parameter"); for(Node node: nodeList) { PublicRenderParameterType<PortletDescriptor> type = new PublicRenderParameterTypeImpl<PortletDescriptor>(this, "public-render-parameter", model, node); list.add(type); } return list; }
/** * If not already created, a new <code>public-render-parameter</code> element will be created and returned. * Otherwise, the first existing <code>public-render-parameter</code> element will be returned. * @return the instance defined for the element <code>public-render-parameter</code> */ public PublicRenderParameterType<PortletDescriptor> getOrCreatePublicRenderParameter() { List<Node> nodeList = model.get("public-render-parameter"); if (nodeList != null && nodeList.size() > 0) { return new PublicRenderParameterTypeImpl<PortletDescriptor>(this, "public-render-parameter", model, nodeList.get(0)); } return createPublicRenderParameter(); }
/** * If not already created, a new <code>public-render-parameter</code> element will be created and returned. * Otherwise, the first existing <code>public-render-parameter</code> element will be returned. * @return the instance defined for the element <code>public-render-parameter</code> */ public PublicRenderParameterType<PortletDescriptor> getOrCreatePublicRenderParameter() { List<Node> nodeList = model.get("public-render-parameter"); if (nodeList != null && nodeList.size() > 0) { return new PublicRenderParameterTypeImpl<PortletDescriptor>(this, "public-render-parameter", model, nodeList.get(0)); } return createPublicRenderParameter(); }