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:
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>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLElement<RC,WC>build()Builds this XML particle.protected XMLElement.Builder<RC,WC>builder()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 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.xml.XMLContainer.Builder
withContent, withContent, withContent, withContent
-
Methods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
withCardinality
-
-
-
-
Method Detail
-
withAttributes
public XMLElement.Builder<RC,WC> withAttributes(Map<QName,org.jboss.staxmapper.XMLAttributeReader<RC>> readers, XMLContentWriter<WC> writer)
Description copied from interface:XMLElement.BuilderAdds readers and writer for the attributes of this element.- Specified by:
withAttributesin interfaceXMLElement.Builder<RC,WC>- Parameters:
readers- a map of readers per qualified namewriter- a writer of the attributes of this element- 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:
-
-