Class ResourceXMLParticleGroup.AbstractBuilder<T extends ResourceXMLParticleGroup,B extends ResourceXMLParticleGroup.Builder<T,B>>
- java.lang.Object
-
- org.jboss.as.controller.xml.XMLParticle.AbstractBuilder<RC,WC,T,B>
-
- org.jboss.as.controller.xml.XMLParticleGroup.AbstractBuilder<Map.Entry<PathAddress,Map<PathAddress,org.jboss.dmr.ModelNode>>,org.jboss.dmr.ModelNode,ResourceXMLElement,T,B>
-
- org.jboss.as.controller.persistence.xml.ResourceXMLParticleGroup.AbstractBuilder<T,B>
-
- All Implemented Interfaces:
FeatureFilter,FeatureRegistry,AttributeDefinitionXMLConfiguration.Configurator<B>,ResourceXMLElementGroup.Builder<T,B>,ResourceXMLParticleGroup.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>,XMLParticleGroup.Builder<Map.Entry<PathAddress,Map<PathAddress,org.jboss.dmr.ModelNode>>,org.jboss.dmr.ModelNode,ResourceXMLElement,T,B>
- Direct Known Subclasses:
ResourceXMLChoice.DefaultBuilder,ResourceXMLSequence.DefaultBuilder
- Enclosing interface:
- ResourceXMLParticleGroup
public abstract static class ResourceXMLParticleGroup.AbstractBuilder<T extends ResourceXMLParticleGroup,B extends ResourceXMLParticleGroup.Builder<T,B>> extends XMLParticleGroup.AbstractBuilder<Map.Entry<PathAddress,Map<PathAddress,org.jboss.dmr.ModelNode>>,org.jboss.dmr.ModelNode,ResourceXMLElement,T,B> implements ResourceXMLParticleGroup.Builder<T,B>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaddElement(AttributeDefinition attribute)Adds the specified attribute to this group, if it will parse and/or marshal as an xs:element.BaddElements(Iterable<? extends AttributeDefinition> attributes)Bulk operation that adds the specified attributes, that will parse and/or marshal as an xs:element, to this group.BwithLocalNames(Map<AttributeDefinition,String> localNames)Overrides the qualified names for the specified attributes.BwithMarshallers(Map<AttributeDefinition,AttributeMarshaller> marshallers)Overrides the marshallers for the specified attributes.BwithNames(Map<AttributeDefinition,QName> names)Overrides the qualified names for the specified attributes.BwithParsers(Map<AttributeDefinition,AttributeParser> parsers)Overrides the parsers for the specified attributes.-
Methods inherited from class org.jboss.as.controller.xml.XMLParticleGroup.AbstractBuilder
addChoice, addElement, addSequence, getGroups, getStability
-
Methods inherited from class org.jboss.as.controller.xml.XMLParticle.AbstractBuilder
builder, 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.persistence.xml.ResourceXMLElementGroup.Builder
provideElements
-
Methods inherited from interface org.jboss.as.controller.xml.XMLElementGroup.Builder
addElement
-
Methods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
build, withCardinality
-
Methods inherited from interface org.jboss.as.controller.xml.XMLParticleGroup.Builder
addChoice, addSequence
-
-
-
-
Method Detail
-
addElement
public B addElement(AttributeDefinition attribute)
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 ResourceXMLParticleGroup,B extends ResourceXMLParticleGroup.Builder<T,B>>- Parameters:
attribute- an attribute- Returns:
- a reference to this builder
-
addElements
public B addElements(Iterable<? extends AttributeDefinition> attributes)
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 ResourceXMLParticleGroup,B extends ResourceXMLParticleGroup.Builder<T,B>>- Parameters:
attributes- zero or more resource attribute definitions- Returns:
- a reference to this builder
-
withLocalNames
public B withLocalNames(Map<AttributeDefinition,String> localNames)
Description copied from interface:AttributeDefinitionXMLConfiguration.ConfiguratorOverrides the qualified names for the specified attributes.- Specified by:
withLocalNamesin interfaceAttributeDefinitionXMLConfiguration.Configurator<T extends ResourceXMLParticleGroup>- Returns:
- a reference to this configurator
-
withNames
public B withNames(Map<AttributeDefinition,QName> names)
Description copied from interface:AttributeDefinitionXMLConfiguration.ConfiguratorOverrides the qualified names for the specified attributes.- Specified by:
withNamesin interfaceAttributeDefinitionXMLConfiguration.Configurator<T extends ResourceXMLParticleGroup>- Parameters:
names- a mapping of qualified name overrides- Returns:
- a reference to this configurator
-
withParsers
public B withParsers(Map<AttributeDefinition,AttributeParser> parsers)
Description copied from interface:AttributeDefinitionXMLConfiguration.ConfiguratorOverrides the parsers for the specified attributes.- Specified by:
withParsersin interfaceAttributeDefinitionXMLConfiguration.Configurator<T extends ResourceXMLParticleGroup>- Parameters:
parsers- a mapping of parser overrides- Returns:
- a reference to this configurator
-
withMarshallers
public B withMarshallers(Map<AttributeDefinition,AttributeMarshaller> marshallers)
Description copied from interface:AttributeDefinitionXMLConfiguration.ConfiguratorOverrides the marshallers for the specified attributes.- Specified by:
withMarshallersin interfaceAttributeDefinitionXMLConfiguration.Configurator<T extends ResourceXMLParticleGroup>- Parameters:
marshallers- a mapping of marshaller overrides- Returns:
- a reference to this configurator
-
-