Package org.jboss.as.controller.xml
Class XMLElement.DefaultBuilder<RC,WC>
java.lang.Object
org.jboss.as.controller.xml.XMLParticle.AbstractBuilder<RC,WC,T,B>
org.jboss.as.controller.xml.XMLContainer.AbstractBuilder<RC,WC,XMLElement<RC,WC>,XMLElement.Builder<RC,WC>>
org.jboss.as.controller.xml.XMLElement.DefaultBuilder<RC,WC>
- All Implemented Interfaces:
FeatureFilter,FeatureRegistry,XMLContainer.Builder<RC,,WC, XMLElement<RC, WC>, XMLElement.Builder<RC, WC>> XMLElement.Builder<RC,,WC> XMLParticle.Builder<RC,WC, XMLElement<RC, WC>, XMLElement.Builder<RC, WC>>
- Enclosing interface:
- XMLElement<RC,
WC>
public static class XMLElement.DefaultBuilder<RC,WC>
extends XMLContainer.AbstractBuilder<RC,WC,XMLElement<RC,WC>,XMLElement.Builder<RC,WC>>
implements XMLElement.Builder<RC,WC>, FeatureRegistry
-
Method Summary
Modifier and TypeMethodDescriptionaddAttribute(XMLAttribute<RC, WC> attribute) Adds readers and writer for the attributes of this element.build()Builds this XML particle.protected XMLElement.Builder<RC,WC> builder()Returns the feature stability supported by this feature registry.Methods inherited from class org.jboss.as.controller.xml.XMLContainer.AbstractBuilder
getContent, withContentMethods inherited from class org.jboss.as.controller.xml.XMLParticle.AbstractBuilder
getCardinality, withCardinalityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.FeatureRegistry
enablesMethods inherited from interface org.jboss.as.controller.xml.XMLContainer.Builder
withContent, withContent, withContent, withContentMethods inherited from interface org.jboss.as.controller.xml.XMLElement.Builder
addAttributesMethods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
withCardinality
-
Method Details
-
addAttribute
Description copied from interface:XMLElement.BuilderAdds readers and writer for the attributes of this element.- Specified by:
addAttributein interfaceXMLElement.Builder<RC,WC> - Returns:
- a reference to this builder
-
builder
- Specified by:
builderin classXMLParticle.AbstractBuilder<RC,WC, XMLElement<RC, WC>, XMLElement.Builder<RC, WC>>
-
build
Description copied from interface:XMLParticle.BuilderBuilds this XML particle.- Specified by:
buildin interfaceXMLParticle.Builder<RC,WC, XMLElement<RC, WC>, XMLElement.Builder<RC, WC>> - Returns:
-
getStability
Description copied from interface:FeatureRegistryReturns the feature stability supported by this feature registry.- Specified by:
getStabilityin interfaceFeatureRegistry- Returns:
- a stability level
-