Class ResourceXMLElementGroup.AbstractBuilder<T extends ResourceXMLElementGroup,B extends ResourceXMLElementGroup.Builder<T,B>>
java.lang.Object
org.jboss.as.controller.xml.XMLParticle.AbstractBuilder<RC,WC,T,B>
org.jboss.as.controller.xml.XMLElementGroup.AbstractBuilder<Map.Entry<PathAddress,Map<PathAddress,org.jboss.dmr.ModelNode>>,org.jboss.dmr.ModelNode,ResourceXMLElement,T,B>
org.jboss.as.controller.persistence.xml.ResourceXMLElementGroup.AbstractBuilder<T,B>
- All Implemented Interfaces:
FeatureFilter,FeatureRegistry,AttributeDefinitionXMLConfiguration.Configurator<B>,ResourceXMLElementGroup.Builder<T,,B> XMLElementGroup.Builder<Map.Entry<PathAddress,,Map<PathAddress, org.jboss.dmr.ModelNode>>, org.jboss.dmr.ModelNode, ResourceXMLElement, T, B> XMLParticle.Builder<Map.Entry<PathAddress,Map<PathAddress, org.jboss.dmr.ModelNode>>, org.jboss.dmr.ModelNode, T, B>
- Direct Known Subclasses:
ResourceXMLAll.DefaultBuilder
- Enclosing interface:
- ResourceXMLElementGroup
public abstract static class ResourceXMLElementGroup.AbstractBuilder<T extends ResourceXMLElementGroup,B extends ResourceXMLElementGroup.Builder<T,B>>
extends XMLElementGroup.AbstractBuilder<Map.Entry<PathAddress,Map<PathAddress,org.jboss.dmr.ModelNode>>,org.jboss.dmr.ModelNode,ResourceXMLElement,T,B>
implements ResourceXMLElementGroup.Builder<T,B>
-
Method Summary
Modifier and TypeMethodDescriptionaddElement(AttributeDefinition attribute) Adds the specified attribute to this group, if it will parse and/or marshal as an xs:element.addElements(Iterable<? extends AttributeDefinition> attributes) Bulk operation that adds the specified attributes, that will parse and/or marshal as an xs:element, to this group.withLocalNames(Map<AttributeDefinition, String> localNames) Overrides the qualified names for the specified attributes.withMarshallers(Map<AttributeDefinition, AttributeMarshaller> marshallers) Overrides the marshallers for the specified attributes.withNames(Map<AttributeDefinition, QName> names) Overrides the qualified names for the specified attributes.withParsers(Map<AttributeDefinition, AttributeParser> parsers) Overrides the parsers for the specified attributes.Methods inherited from class org.jboss.as.controller.xml.XMLElementGroup.AbstractBuilder
addElement, getElements, getStabilityMethods inherited from class org.jboss.as.controller.xml.XMLParticle.AbstractBuilder
builder, getCardinality, withCardinalityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.FeatureRegistry
enablesMethods inherited from interface org.jboss.as.controller.persistence.xml.ResourceXMLElementGroup.Builder
provideElementsMethods inherited from interface org.jboss.as.controller.xml.XMLElementGroup.Builder
addElementMethods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
build, withCardinality
-
Method Details
-
addElement
Description copied from interface:ResourceXMLElementGroup.BuilderAdds the specified attribute to this group, if it will parse and/or marshal as an xs:element.- Specified by:
addElementin interfaceResourceXMLElementGroup.Builder<T extends ResourceXMLElementGroup,B extends ResourceXMLElementGroup.Builder<T, B>> - Parameters:
attribute- an attribute- Returns:
- a reference to this builder
-
addElements
Description copied from interface:ResourceXMLElementGroup.BuilderBulk operation that adds the specified attributes, that will parse and/or marshal as an xs:element, to this group.- Specified by:
addElementsin interfaceResourceXMLElementGroup.Builder<T extends ResourceXMLElementGroup,B extends ResourceXMLElementGroup.Builder<T, B>> - Parameters:
attributes- zero or more resource attribute definitions- Returns:
- a reference to this builder
-
withLocalNames
Description copied from interface:AttributeDefinitionXMLConfiguration.ConfiguratorOverrides the qualified names for the specified attributes.- Specified by:
withLocalNamesin interfaceAttributeDefinitionXMLConfiguration.Configurator<T extends ResourceXMLElementGroup>- Returns:
- a reference to this configurator
-
withNames
Description copied from interface:AttributeDefinitionXMLConfiguration.ConfiguratorOverrides the qualified names for the specified attributes.- Specified by:
withNamesin interfaceAttributeDefinitionXMLConfiguration.Configurator<T extends ResourceXMLElementGroup>- Parameters:
names- a mapping of qualified name overrides- Returns:
- a reference to this configurator
-
withParsers
Description copied from interface:AttributeDefinitionXMLConfiguration.ConfiguratorOverrides the parsers for the specified attributes.- Specified by:
withParsersin interfaceAttributeDefinitionXMLConfiguration.Configurator<T extends ResourceXMLElementGroup>- Parameters:
parsers- a mapping of parser overrides- Returns:
- a reference to this configurator
-
withMarshallers
Description copied from interface:AttributeDefinitionXMLConfiguration.ConfiguratorOverrides the marshallers for the specified attributes.- Specified by:
withMarshallersin interfaceAttributeDefinitionXMLConfiguration.Configurator<T extends ResourceXMLElementGroup>- Parameters:
marshallers- a mapping of marshaller overrides- Returns:
- a reference to this configurator
-