Class ParamValueTypeImpl<T>

  • All Implemented Interfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>, ParamValueType<T>

    public class ParamValueTypeImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ParamValueType<T>
    This class implements the param-valueType xsd type
    • Constructor Detail

      • ParamValueTypeImpl

        public ParamValueTypeImpl​(T t,
                                  String nodeName,
                                  org.jboss.shrinkwrap.descriptor.spi.node.Node node)
      • ParamValueTypeImpl

        public ParamValueTypeImpl​(T t,
                                  String nodeName,
                                  org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                                  org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
    • Method Detail

      • up

        public T up()
        Specified by:
        up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
      • description

        public ParamValueType<T> description​(String... values)
        Creates for all String objects representing description elements, a new description element
        Specified by:
        description in interface ParamValueType<T>
        Parameters:
        values - list of description objects
        Returns:
        the current instance of ParamValueType
      • paramName

        public ParamValueType<T> paramName​(String paramName)
        Sets the param-name element
        Specified by:
        paramName in interface ParamValueType<T>
        Parameters:
        paramName - the value for the element param-name
        Returns:
        the current instance of ParamValueType
      • getParamName

        public String getParamName()
        Returns the param-name element
        Specified by:
        getParamName in interface ParamValueType<T>
        Returns:
        the node defined for the element param-name
      • paramValue

        public ParamValueType<T> paramValue​(String paramValue)
        Sets the param-value element
        Specified by:
        paramValue in interface ParamValueType<T>
        Parameters:
        paramValue - the value for the element param-value
        Returns:
        the current instance of ParamValueType
      • getParamValue

        public String getParamValue()
        Returns the param-value element
        Specified by:
        getParamValue in interface ParamValueType<T>
        Returns:
        the node defined for the element param-value
      • id

        public ParamValueType<T> id​(String id)
        Sets the id attribute
        Specified by:
        id in interface ParamValueType<T>
        Parameters:
        id - the value for the attribute id
        Returns:
        the current instance of ParamValueType
      • getId

        public String getId()
        Returns the id attribute
        Specified by:
        getId in interface ParamValueType<T>
        Returns:
        the value defined for the attribute id