public class ExtensionTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ExtensionType<T>
extensionType
xsd typeType | Property and Description |
---|---|
ExtensionType<T> |
removeConfig
Removes the
config-property element |
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 ExtensionType<T> removeConfigProperty
config-property
elementremoveConfigProperty
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 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>
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.