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 |
ConfigPropertyType<ExtensionType<T>> |
createConfigProperty()
Creates a new
config-property element |
List<ConfigPropertyType<ExtensionType<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
String |
getClassName()
Returns the
class-name attribute |
ConfigPropertyType<ExtensionType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
ExtensionType<T> |
removeAllConfigProperty()
Removes all
config-property elements |
ExtensionType<T> |
removeClassName()
Removes the
class-name attribute |
T |
up() |
public ExtensionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty()
config-property element will be created and returned.
Otherwise, the first existing config-property element will be returned.getOrCreateConfigProperty in interface ExtensionType<T>config-propertypublic ConfigPropertyType<ExtensionType<T>> createConfigProperty()
config-property elementcreateConfigProperty in interface ExtensionType<T>ConfigPropertyType> public List<ConfigPropertyType<ExtensionType<T>>> getAllConfigProperty()
config-property elementsgetAllConfigProperty in interface ExtensionType<T>config-propertypublic ExtensionType<T> removeAllConfigProperty()
config-property elementsremoveAllConfigProperty in interface ExtensionType<T>ConfigPropertyType> public 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.