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
Modifier and TypeMethodDescriptionaddAttribute(AttributeDefinition attribute) Adds the specified attribute to this element, if it will parse and/or marshal as an xs:attribute.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.ignoreAttributeLocalNames(Set<String> localNames) Specifies a set of attribute local names that should be allowed, but ignored during parsing.ignoreAttributeNames(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, withParsersMethods inherited from interface org.jboss.as.controller.xml.XMLContainer.Builder
withContent, withContent, withContent, withContentMethods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
build, withCardinality
-
Method Details
-
addAttribute
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
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
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
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
-
ignoreAttributeNames
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
-