Interface ResourceXMLContainer.Builder<T extends ResourceXMLContainer,B extends ResourceXMLContainer.Builder<T,B>>
-
- All Superinterfaces:
AttributeDefinitionXMLConfiguration.Configurator<B>,XMLContainer.Builder<Map.Entry<PathAddress,Map<PathAddress,org.jboss.dmr.ModelNode>>,org.jboss.dmr.ModelNode,T,B>,XMLParticle.Builder<Map.Entry<PathAddress,Map<PathAddress,org.jboss.dmr.ModelNode>>,org.jboss.dmr.ModelNode,T,B>
- All Known Subinterfaces:
NamedResourceRegistrationXMLElement.Builder,ResourceRegistrationXMLElement.Builder<T,B>,ResourceXMLElement.Builder,SingletonResourceRegistrationXMLElement.Builder,SubsystemResourceRegistrationXMLElement.Builder
- All Known Implementing Classes:
NamedResourceRegistrationXMLElement.DefaultBuilder,ResourceRegistrationXMLElement.AbstractBuilder,ResourceXMLContainer.AbstractBuilder,ResourceXMLElement.DefaultBuilder,SingletonResourceRegistrationXMLElement.DefaultBuilder,SubsystemResourceRegistrationXMLElement.DefaultBuilder
- Enclosing interface:
- ResourceXMLContainer
public static interface ResourceXMLContainer.Builder<T extends ResourceXMLContainer,B extends ResourceXMLContainer.Builder<T,B>> extends XMLContainer.Builder<Map.Entry<PathAddress,Map<PathAddress,org.jboss.dmr.ModelNode>>,org.jboss.dmr.ModelNode,T,B>, AttributeDefinitionXMLConfiguration.Configurator<B>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BaddAttribute(AttributeDefinition attribute)Adds the specified attribute to this element, if it will parse and/or marshal as an xs:attribute.BaddAttributes(Iterable<? extends AttributeDefinition> attributes)Bulk operation that adds the specified attributes, that will parse and/or marshal as an xs:attribute, to this element.BignoreAttributeLocalNames(Set<String> localNames)Specifies a set of attribute local names that should be allowed, but ignored during parsing.BignoreAttributeNames(Set<QName> names)Specifies a set of attribute local names that should be allowed, but ignored during parsing.default BprovideAttributes(Iterable<? extends Supplier<AttributeDefinition>> providers)Bulk operation that provides the specified attributes, that will parse and/or marshal as an xs:attribute, to this element.-
Methods inherited from interface org.jboss.as.controller.persistence.xml.AttributeDefinitionXMLConfiguration.Configurator
withLocalNames, withMarshallers, withNames, withParsers
-
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
-
addAttribute
B addAttribute(AttributeDefinition attribute)
Adds the specified attribute to this element, if it will parse and/or marshal as an xs:attribute.- Parameters:
attribute- a resource attribute definition- Returns:
- a reference to this builder
-
addAttributes
B addAttributes(Iterable<? extends AttributeDefinition> attributes)
Bulk operation that adds the specified attributes, that will parse and/or marshal as an xs:attribute, to this element.- Parameters:
attributes- zero or more resource attribute definitions- Returns:
- a reference to this builder
-
provideAttributes
default B provideAttributes(Iterable<? extends Supplier<AttributeDefinition>> providers)
Bulk operation that provides the specified attributes, that will parse and/or marshal as an xs:attribute, to this element.- Parameters:
providers- zero or more resource attribute definition providers- Returns:
- a reference to this builder
-
ignoreAttributeLocalNames
B ignoreAttributeLocalNames(Set<String> localNames)
Specifies a set of attribute local names that should be allowed, but ignored during parsing.- Parameters:
localNames- a set of ignored attribute local names- Returns:
- a reference to this builder
-
-