|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jbosscommon51.StubPropertyTypeImpl<T>
public class StubPropertyTypeImpl<T>
This class implements the stub-propertyType xsd type
| Constructor Summary | |
|---|---|
StubPropertyTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
StubPropertyTypeImpl(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 |
getPropName()
Returns the prop-name element |
java.lang.String |
getPropValue()
Returns the prop-value element |
StubPropertyType<T> |
removePropName()
Removes the prop-name element |
StubPropertyType<T> |
removePropValue()
Removes the prop-value element |
StubPropertyType<T> |
setPropName(java.lang.String propName)
If not already created, a new prop-name element with the given value will be created. |
StubPropertyType<T> |
setPropValue(java.lang.String propValue)
If not already created, a new prop-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 StubPropertyTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public StubPropertyTypeImpl(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 StubPropertyType<T> setPropName(java.lang.String propName)
prop-name element with the given value will be created.
Otherwise, the existing prop-name element will be updated with the given value.
setPropName in interface StubPropertyType<T>StubPropertyTypepublic StubPropertyType<T> removePropName()
prop-name element
removePropName in interface StubPropertyType<T>StubPropertyTypepublic java.lang.String getPropName()
prop-name element
getPropName in interface StubPropertyType<T>prop-namepublic StubPropertyType<T> setPropValue(java.lang.String propValue)
prop-value element with the given value will be created.
Otherwise, the existing prop-value element will be updated with the given value.
setPropValue in interface StubPropertyType<T>StubPropertyTypepublic StubPropertyType<T> removePropValue()
prop-value element
removePropValue in interface StubPropertyType<T>StubPropertyTypepublic java.lang.String getPropValue()
prop-value element
getPropValue in interface StubPropertyType<T>prop-value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||