Class ConfigPropertyTypeImpl<T>

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

    public class ConfigPropertyTypeImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConfigPropertyType<T>
    This class implements the config-propertyType xsd type
    • Constructor Detail

      • ConfigPropertyTypeImpl

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

        public ConfigPropertyTypeImpl​(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>
      • text

        public ConfigPropertyType<T> text​(String value)
        Sets the body text for the element config-propertyType
        Specified by:
        text in interface ConfigPropertyType<T>
        Parameters:
        configPropertyType - the value for the body text config-propertyType
        Returns:
        the current instance of ConfigPropertyType
      • getText

        public String getText()
        Returns the body text of the element config-propertyType
        Specified by:
        getText in interface ConfigPropertyType<T>
        Returns:
        the value defined for the text config-propertyType
      • name

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

        public String getName()
        Returns the name attribute
        Specified by:
        getName in interface ConfigPropertyType<T>
        Returns:
        the value defined for the attribute name