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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XMLElement.Builder<RC,WC>withAttributes(Map<QName,org.jboss.staxmapper.XMLAttributeReader<RC>> readers, XMLContentWriter<WC> writer)Adds readers and writer for the attributes of this element.-
Methods inherited from interface org.jboss.as.controller.xml.XMLContainer.Builder
withContent, withContent, withContent, withContent
-
Methods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
build, withCardinality
-
-
-
-
Method Detail
-
withAttributes
XMLElement.Builder<RC,WC> withAttributes(Map<QName,org.jboss.staxmapper.XMLAttributeReader<RC>> readers, XMLContentWriter<WC> writer)
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
-
-