org.jboss.shrinkwrap.descriptor.api.application6
Interface WebType<T>

All Superinterfaces:
Child<T>

public interface WebType<T>
extends Child<T>

This interface defines the contract for the webType xsd type

Since:
Generation date :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 WebType<T> contextRoot(String contextRoot)
          Sets the context-root element
 String getContextRoot()
          Returns the context-root element
 String getId()
          Returns the id attribute
 String getWebUri()
          Returns the web-uri element
 WebType<T> id(String id)
          Sets the id attribute
 WebType<T> removeContextRoot()
          Removes the context-root element
 WebType<T> removeId()
          Removes the id attribute
 WebType<T> removeWebUri()
          Removes the web-uri element
 WebType<T> webUri(String webUri)
          Sets the web-uri element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

webUri

WebType<T> webUri(String webUri)
Sets the web-uri element

Parameters:
webUri - the value for the element web-uri
Returns:
the current instance of WebType

getWebUri

String getWebUri()
Returns the web-uri element

Returns:
the node defined for the element web-uri

removeWebUri

WebType<T> removeWebUri()
Removes the web-uri element

Returns:
the current instance of WebType

contextRoot

WebType<T> contextRoot(String contextRoot)
Sets the context-root element

Parameters:
contextRoot - the value for the element context-root
Returns:
the current instance of WebType

getContextRoot

String getContextRoot()
Returns the context-root element

Returns:
the node defined for the element context-root

removeContextRoot

WebType<T> removeContextRoot()
Removes the context-root element

Returns:
the current instance of WebType

id

WebType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of WebType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

WebType<T> removeId()
Removes the id attribute

Returns:
the current instance of WebType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.