public class ParamValueTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ParamValueType<T>
param-valueType
xsd typeConstructor and Description |
---|
ParamValueTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
ParamValueTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
Modifier and Type | Method and Description |
---|---|
ParamValueType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
String |
getId()
Returns the
id attribute |
String |
getParamName()
Returns the
param-name element |
String |
getParamValue()
Returns the
param-value element |
ParamValueType<T> |
id(String id)
Sets the
id attribute |
ParamValueType<T> |
paramName(String paramName)
Sets the
param-name element |
ParamValueType<T> |
paramValue(String paramValue)
Sets the
param-value element |
ParamValueType<T> |
removeAllDescription()
Removes the
description element |
ParamValueType<T> |
removeId()
Removes the
id attribute |
ParamValueType<T> |
removeParamName()
Removes the
param-name element |
ParamValueType<T> |
removeParamValue()
Removes the
param-value element |
T |
up() |
public ParamValueTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ParamValueType<T> description(String... values)
description
elements,
a new description
elementdescription
in interface ParamValueType<T>
values
- list of description
objectsParamValueType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface ParamValueType<T>
description
public ParamValueType<T> removeAllDescription()
description
elementremoveAllDescription
in interface ParamValueType<T>
ParamValueType
public ParamValueType<T> paramName(String paramName)
param-name
elementparamName
in interface ParamValueType<T>
paramName
- the value for the element param-name
ParamValueType
public String getParamName()
param-name
elementgetParamName
in interface ParamValueType<T>
param-name
public ParamValueType<T> removeParamName()
param-name
elementremoveParamName
in interface ParamValueType<T>
ParamValueType
public ParamValueType<T> paramValue(String paramValue)
param-value
elementparamValue
in interface ParamValueType<T>
paramValue
- the value for the element param-value
ParamValueType
public String getParamValue()
param-value
elementgetParamValue
in interface ParamValueType<T>
param-value
public ParamValueType<T> removeParamValue()
param-value
elementremoveParamValue
in interface ParamValueType<T>
ParamValueType
public ParamValueType<T> id(String id)
id
attributeid
in interface ParamValueType<T>
id
- the value for the attribute id
ParamValueType
public String getId()
id
attributegetId
in interface ParamValueType<T>
id
public ParamValueType<T> removeId()
id
attributeremoveId
in interface ParamValueType<T>
ParamValueType
Copyright © 2021 JBoss by Red Hat. All rights reserved.