Class EmptyTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee6.EmptyTypeImpl<T>
All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>, EmptyType<T>

public class EmptyTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EmptyType<T>
This class implements the emptyType xsd type
  • Constructor Details

    • EmptyTypeImpl

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

      public EmptyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

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

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

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

      public EmptyType<T> removeId()
      Removes the id attribute
      Specified by:
      removeId in interface EmptyType<T>
      Returns:
      the current instance of EmptyType