public class ConfigPropertyTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConfigPropertyType<T>
config-propertyType
xsd typeConstructor and Description |
---|
ConfigPropertyTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
ConfigPropertyTypeImpl(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 |
---|---|
String |
getName()
Returns the
name attribute |
String |
getText()
Returns the body text of the element
config-propertyType |
ConfigPropertyType<T> |
name(String name)
Sets the
name attribute |
ConfigPropertyType<T> |
removeName()
Removes the
name attribute |
ConfigPropertyType<T> |
text(String value)
Sets the body text for the element
config-propertyType |
T |
up() |
public ConfigPropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConfigPropertyType<T> text(String value)
config-propertyType
text
in interface ConfigPropertyType<T>
configPropertyType
- the value for the body text config-propertyType
ConfigPropertyType
public String getText()
config-propertyType
getText
in interface ConfigPropertyType<T>
config-propertyType
public ConfigPropertyType<T> name(String name)
name
attributename
in interface ConfigPropertyType<T>
name
- the value for the attribute name
ConfigPropertyType
public String getName()
name
attributegetName
in interface ConfigPropertyType<T>
name
public ConfigPropertyType<T> removeName()
name
attributeremoveName
in interface ConfigPropertyType<T>
ConfigPropertyType
Copyright © 2017 JBoss by Red Hat. All rights reserved.