public class ExtensionTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ExtensionType<T>
extensionType
xsd typeType | Property and Description |
---|---|
ConfigPropertyType<ExtensionType<T>> |
createConfig
Creates a new
config-property element |
ExtensionType<T> |
removeAllConfig
Removes all
config-property elements |
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 ConfigPropertyType<ExtensionType<T>> createConfigProperty
config-property
elementcreateConfigProperty
in interface ExtensionType<T>
public ExtensionType<T> removeAllConfigProperty
config-property
elementsremoveAllConfigProperty
in interface ExtensionType<T>
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-property
public ConfigPropertyType<ExtensionType<T>> createConfigProperty()
config-property
elementcreateConfigProperty
in interface ExtensionType<T>
public List<ConfigPropertyType<ExtensionType<T>>> getAllConfigProperty()
config-property
elementsgetAllConfigProperty
in interface ExtensionType<T>
config-property
public ExtensionType<T> removeAllConfigProperty()
config-property
elementsremoveAllConfigProperty
in interface ExtensionType<T>
public ExtensionType<T> className(String className)
class-name
attributeclassName
in interface ExtensionType<T>
className
- the value for the attribute class-name
ExtensionType
public String getClassName()
class-name
attributegetClassName
in interface ExtensionType<T>
class-name
public ExtensionType<T> removeClassName()
class-name
attributeremoveClassName
in interface ExtensionType<T>
ExtensionType
Copyright © 2017 JBoss by Red Hat. All rights reserved.