Package org.jboss.as.controller.xml
Class XMLParticleGroup.AbstractBuilder<RC,WC,E extends XMLElement<RC,WC>,T extends XMLParticleGroup<RC,WC>,B extends XMLParticleGroup.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.XMLParticleGroup.AbstractBuilder<RC,WC,E,T,B>
-
- All Implemented Interfaces:
FeatureFilter,FeatureRegistry,XMLElementGroup.Builder<RC,WC,E,T,B>,XMLParticle.Builder<RC,WC,T,B>,XMLParticleGroup.Builder<RC,WC,E,T,B>
- Direct Known Subclasses:
ResourceXMLParticleGroup.AbstractBuilder,XMLChoice.DefaultBuilder,XMLSequence.DefaultBuilder
- Enclosing interface:
- XMLParticleGroup<RC,WC>
public abstract static class XMLParticleGroup.AbstractBuilder<RC,WC,E extends XMLElement<RC,WC>,T extends XMLParticleGroup<RC,WC>,B extends XMLParticleGroup.Builder<RC,WC,E,T,B>> extends XMLParticle.AbstractBuilder<RC,WC,T,B> implements XMLParticleGroup.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 BaddChoice(XMLChoice<RC,WC> choice)Adds an XML choice to this group.BaddElement(E element)Adds an element to this compositor.BaddSequence(XMLSequence<RC,WC> sequence)Adds an XML sequence to this group.protected List<XMLParticleGroup<RC,WC>>getGroups()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 XMLParticleGroup<RC,WC>,B extends XMLParticleGroup.Builder<RC,WC,E,T,B>>- Parameters:
element- an element to add- Returns:
- a reference to this builder
-
addChoice
public B addChoice(XMLChoice<RC,WC> choice)
Description copied from interface:XMLParticleGroup.BuilderAdds an XML choice to this group.- Specified by:
addChoicein interfaceXMLParticleGroup.Builder<RC,WC,E extends XMLElement<RC,WC>,T extends XMLParticleGroup<RC,WC>,B extends XMLParticleGroup.Builder<RC,WC,E,T,B>>- Parameters:
choice- a choice of elements.- Returns:
- a reference to this builder
-
addSequence
public B addSequence(XMLSequence<RC,WC> sequence)
Description copied from interface:XMLParticleGroup.BuilderAdds an XML sequence to this group.- Specified by:
addSequencein interfaceXMLParticleGroup.Builder<RC,WC,E extends XMLElement<RC,WC>,T extends XMLParticleGroup<RC,WC>,B extends XMLParticleGroup.Builder<RC,WC,E,T,B>>- Parameters:
sequence- a sequence of elements.- Returns:
- a reference to this builder
-
getGroups
protected List<XMLParticleGroup<RC,WC>> getGroups()
-
-