|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.application5.WebTypeImpl<T>
public class WebTypeImpl<T>
This class implements the webType xsd type
Original Documentation:
The webType defines the web-uri and context-root of
a web application module.
| Constructor Summary | |
|---|---|
WebTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
WebTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContextRoot()
Returns the context-root element |
java.lang.String |
getWebUri()
Returns the web-uri element |
WebType<T> |
removeContextRoot()
Removes the context-root element |
WebType<T> |
removeWebUri()
Removes the web-uri element |
WebType<T> |
setContextRoot(java.lang.String contextRoot)
If not already created, a new context-root element with the given value will be created. |
WebType<T> |
setWebUri(java.lang.String webUri)
If not already created, a new web-uri element with the given value will be created. |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public WebTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public WebType<T> setWebUri(java.lang.String webUri)
web-uri element with the given value will be created.
Otherwise, the existing web-uri element will be updated with the given value.
setWebUri in interface WebType<T>WebTypepublic WebType<T> removeWebUri()
web-uri element
removeWebUri in interface WebType<T>WebTypepublic java.lang.String getWebUri()
web-uri element
getWebUri in interface WebType<T>web-uripublic WebType<T> setContextRoot(java.lang.String contextRoot)
context-root element with the given value will be created.
Otherwise, the existing context-root element will be updated with the given value.
setContextRoot in interface WebType<T>WebTypepublic WebType<T> removeContextRoot()
context-root element
removeContextRoot in interface WebType<T>WebTypepublic java.lang.String getContextRoot()
context-root element
getContextRoot in interface WebType<T>context-root
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||