|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee5.ParamValueTypeImpl<T>
public class ParamValueTypeImpl<T>
This class implements the param-valueType xsd type
Original Documentation:
This type is a general type that can be used to declare
parameter/value lists.
| Constructor Summary | |
|---|---|
ParamValueTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ParamValueTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getParamName()
Returns the param-name element |
java.lang.String |
getParamValue()
Returns the param-value element |
ParamValueType<T> |
removeAllDescription()
Removes the description element |
ParamValueType<T> |
removeParamName()
Removes the param-name element |
ParamValueType<T> |
removeParamValue()
Removes the param-value element |
ParamValueType<T> |
setDescription(java.lang.String description)
Creates a new description element |
ParamValueType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
ParamValueType<T> |
setParamName(java.lang.String paramName)
If not already created, a new param-name element with the given value will be created. |
ParamValueType<T> |
setParamValue(java.lang.String paramValue)
If not already created, a new param-value 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 ParamValueTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public ParamValueTypeImpl(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 ParamValueType<T> setDescription(java.lang.String description)
description element
setDescription in interface ParamValueType<T>ParamValueTypepublic ParamValueType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface ParamValueType<T>list - of description objects
ParamValueTypepublic ParamValueType<T> removeAllDescription()
description element
removeAllDescription in interface ParamValueType<T>ParamValueTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface ParamValueType<T>descriptionpublic ParamValueType<T> setParamName(java.lang.String paramName)
param-name element with the given value will be created.
Otherwise, the existing param-name element will be updated with the given value.
setParamName in interface ParamValueType<T>ParamValueTypepublic ParamValueType<T> removeParamName()
param-name element
removeParamName in interface ParamValueType<T>ParamValueTypepublic java.lang.String getParamName()
param-name element
getParamName in interface ParamValueType<T>param-namepublic ParamValueType<T> setParamValue(java.lang.String paramValue)
param-value element with the given value will be created.
Otherwise, the existing param-value element will be updated with the given value.
setParamValue in interface ParamValueType<T>ParamValueTypepublic ParamValueType<T> removeParamValue()
param-value element
removeParamValue in interface ParamValueType<T>ParamValueTypepublic java.lang.String getParamValue()
param-value element
getParamValue in interface ParamValueType<T>param-value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||