Package org.jboss.as.controller.xml
Interface XMLElement.Builder<RC,WC>
- Type Parameters:
RC- the reader contextWC- the writer content
- All Superinterfaces:
XMLContainer.Builder<RC,,WC, XMLElement<RC, WC>, XMLElement.Builder<RC, WC>> XMLParticle.Builder<RC,WC, XMLElement<RC, WC>, XMLElement.Builder<RC, WC>>
- All Known Implementing Classes:
XMLElement.DefaultBuilder
- Enclosing interface:
- XMLElement<RC,
WC>
public static interface XMLElement.Builder<RC,WC>
extends XMLContainer.Builder<RC,WC,XMLElement<RC,WC>,XMLElement.Builder<RC,WC>>
Builder of an XML element.
-
Method Summary
Modifier and TypeMethodDescriptionaddAttribute(XMLAttribute<RC, WC> attribute) Adds readers and writer for the attributes of this element.default XMLElement.Builder<RC,WC> addAttributes(Iterable<? extends XMLAttribute<RC, WC>> attributes) Adds readers and writer for the attributes of this element.Methods inherited from interface org.jboss.as.controller.xml.XMLContainer.Builder
withContent, withContent, withContent, withContentMethods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
build, withCardinality
-
Method Details
-
addAttribute
Adds readers and writer for the attributes of this element.- Parameters:
readers- a map of readers per qualified namewriter- a writer of the attributes of this element- Returns:
- a reference to this builder
-
addAttributes
Adds readers and writer for the attributes of this element.- Parameters:
readers- a map of readers per qualified namewriter- a writer of the attributes of this element- Returns:
- a reference to this builder
-