public class ExtensionTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ExtensionType<T>
extensionType xsd type| Constructor and Description |
|---|
ExtensionTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
ExtensionTypeImpl(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 |
|---|---|
ExtensionType<T> |
className(String className)
Sets the
class-name attribute |
String |
getClassName()
Returns the
class-name attribute |
ConfigPropertyType<ExtensionType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element with the given value will be created. |
ExtensionType<T> |
removeClassName()
Removes the
class-name attribute |
ExtensionType<T> |
removeConfigProperty()
Removes the
config-property element |
T |
up() |
public ExtensionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty()
config-property element with the given value will be created.
Otherwise, the existing config-property element will be returned.getOrCreateConfigProperty in interface ExtensionType<T>ConfigPropertyType> public ExtensionType<T> removeConfigProperty()
config-property elementremoveConfigProperty in interface ExtensionType<T>ExtensionTypepublic ExtensionType<T> className(String className)
class-name attributeclassName in interface ExtensionType<T>className - the value for the attribute class-nameExtensionTypepublic String getClassName()
class-name attributegetClassName in interface ExtensionType<T>class-namepublic ExtensionType<T> removeClassName()
class-name attributeremoveClassName in interface ExtensionType<T>ExtensionTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.