|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee6.PropertyTypeImpl<T>
public class PropertyTypeImpl<T>
This class implements the propertyType xsd type
Original Documentation:
Specifies a name/value pair.
| Constructor Summary | |
|---|---|
PropertyTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
PropertyTypeImpl(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 |
getName()
Returns the name element |
java.lang.String |
getValue()
Returns the value element |
PropertyType<T> |
removeName()
Removes the name element |
PropertyType<T> |
removeValue()
Removes the value element |
PropertyType<T> |
setName(java.lang.String name)
If not already created, a new name element with the given value will be created. |
PropertyType<T> |
setValue(java.lang.String value)
If not already created, a new 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 PropertyTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public PropertyTypeImpl(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 PropertyType<T> setName(java.lang.String name)
name element with the given value will be created.
Otherwise, the existing name element will be updated with the given value.
setName in interface PropertyType<T>PropertyTypepublic PropertyType<T> removeName()
name element
removeName in interface PropertyType<T>PropertyTypepublic java.lang.String getName()
name element
getName in interface PropertyType<T>namepublic PropertyType<T> setValue(java.lang.String value)
value element with the given value will be created.
Otherwise, the existing value element will be updated with the given value.
setValue in interface PropertyType<T>PropertyTypepublic PropertyType<T> removeValue()
value element
removeValue in interface PropertyType<T>PropertyTypepublic java.lang.String getValue()
value element
getValue in interface PropertyType<T>value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||