Package org.jboss.as.controller.xml
Class XMLElementGroup.AbstractBuilder<RC,WC,E extends XMLElement<RC,WC>,T extends XMLElementGroup<RC,WC>,B extends XMLElementGroup.Builder<RC,WC,E,T,B>>
- java.lang.Object
-
- org.jboss.as.controller.xml.XMLParticle.AbstractBuilder<RC,WC,T,B>
-
- org.jboss.as.controller.xml.XMLElementGroup.AbstractBuilder<RC,WC,E,T,B>
-
- All Implemented Interfaces:
FeatureFilter,FeatureRegistry,XMLElementGroup.Builder<RC,WC,E,T,B>,XMLParticle.Builder<RC,WC,T,B>
- Direct Known Subclasses:
ResourceXMLElementGroup.AbstractBuilder,XMLAll.DefaultBuilder
- Enclosing interface:
- XMLElementGroup<RC,WC>
public abstract static class XMLElementGroup.AbstractBuilder<RC,WC,E extends XMLElement<RC,WC>,T extends XMLElementGroup<RC,WC>,B extends XMLElementGroup.Builder<RC,WC,E,T,B>> extends XMLParticle.AbstractBuilder<RC,WC,T,B> implements XMLElementGroup.Builder<RC,WC,E,T,B>, FeatureRegistry
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBuilder(FeatureRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaddElement(E element)Adds an element to this compositor.protected List<E>getElements()StabilitygetStability()Returns the feature stability supported by this feature registry.-
Methods inherited from class org.jboss.as.controller.xml.XMLParticle.AbstractBuilder
builder, getCardinality, withCardinality
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.controller.FeatureRegistry
enables
-
Methods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
build, withCardinality
-
-
-
-
Constructor Detail
-
AbstractBuilder
protected AbstractBuilder(FeatureRegistry registry)
-
-
Method Detail
-
getStability
public Stability getStability()
Description copied from interface:FeatureRegistryReturns the feature stability supported by this feature registry.- Specified by:
getStabilityin interfaceFeatureRegistry- Returns:
- a stability level
-
addElement
public B addElement(E element)
Description copied from interface:XMLElementGroup.BuilderAdds an element to this compositor.- Specified by:
addElementin interfaceXMLElementGroup.Builder<RC,WC,E extends XMLElement<RC,WC>,T extends XMLElementGroup<RC,WC>,B extends XMLElementGroup.Builder<RC,WC,E,T,B>>- Parameters:
element- an element to add- Returns:
- a reference to this builder
-
-