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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLElement.Builder<RC,WC>addAttribute(XMLAttribute<RC,WC> attribute)Adds readers and writer for the attributes of this element.XMLElement<RC,WC>build()Builds this XML particle.protected XMLElement.Builder<RC,WC>builder()StabilitygetStability()Returns the feature stability supported by this feature registry.-
Methods inherited from class org.jboss.as.controller.xml.XMLContainer.AbstractBuilder
getContent, withContent
-
Methods inherited from class org.jboss.as.controller.xml.XMLParticle.AbstractBuilder
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.XMLContainer.Builder
withContent, withContent, withContent, withContent
-
Methods inherited from interface org.jboss.as.controller.xml.XMLElement.Builder
addAttributes
-
Methods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
withCardinality
-
-
-
-
Method Detail
-
addAttribute
public XMLElement.Builder<RC,WC> addAttribute(XMLAttribute<RC,WC> attribute)
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
protected XMLElement.Builder<RC,WC> builder()
- Specified by:
builderin classXMLParticle.AbstractBuilder<RC,WC,XMLElement<RC,WC>,XMLElement.Builder<RC,WC>>
-
build
public XMLElement<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
public Stability getStability()
Description copied from interface:FeatureRegistryReturns the feature stability supported by this feature registry.- Specified by:
getStabilityin interfaceFeatureRegistry- Returns:
- a stability level
-
-