Class AttributeDefinitionXMLElement.DefaultBuilder
- java.lang.Object
-
- org.jboss.as.controller.persistence.xml.AttributeDefinitionXMLElement.DefaultBuilder
-
- All Implemented Interfaces:
AttributeDefinitionXMLElement.Builder
- Enclosing interface:
- AttributeDefinitionXMLElement
public static class AttributeDefinitionXMLElement.DefaultBuilder extends Object implements AttributeDefinitionXMLElement.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeDefinitionXMLElementbuild()Builds this element.AttributeDefinitionXMLElement.BuilderwithLocalName(String localName)Overrides the local name of this attribute.AttributeDefinitionXMLElement.BuilderwithMarshaller(AttributeMarshaller marshaller)Overrides the default marshaller of this attribute.AttributeDefinitionXMLElement.BuilderwithName(QName name)Overrides the qualified name of this attribute.AttributeDefinitionXMLElement.BuilderwithParser(AttributeParser parser)Overrides the default parser of this attribute.
-
-
-
Method Detail
-
withLocalName
public AttributeDefinitionXMLElement.Builder withLocalName(String localName)
Description copied from interface:AttributeDefinitionXMLElement.BuilderOverrides the local name of this attribute.- Specified by:
withLocalNamein interfaceAttributeDefinitionXMLElement.Builder- Parameters:
localName- the local name of this attribute- Returns:
- a reference to this builder
-
withName
public AttributeDefinitionXMLElement.Builder withName(QName name)
Description copied from interface:AttributeDefinitionXMLElement.BuilderOverrides the qualified name of this attribute.- Specified by:
withNamein interfaceAttributeDefinitionXMLElement.Builder- Parameters:
name- the qualified name of this attribute- Returns:
- a reference to this builder
-
withParser
public AttributeDefinitionXMLElement.Builder withParser(AttributeParser parser)
Description copied from interface:AttributeDefinitionXMLElement.BuilderOverrides the default parser of this attribute.- Specified by:
withParserin interfaceAttributeDefinitionXMLElement.Builder- Parameters:
parser- an alternate parser- Returns:
- a reference to this builder
-
withMarshaller
public AttributeDefinitionXMLElement.Builder withMarshaller(AttributeMarshaller marshaller)
Description copied from interface:AttributeDefinitionXMLElement.BuilderOverrides the default marshaller of this attribute.- Specified by:
withMarshallerin interfaceAttributeDefinitionXMLElement.Builder- Returns:
- a reference to this builder
-
build
public AttributeDefinitionXMLElement build()
Description copied from interface:AttributeDefinitionXMLElement.BuilderBuilds this element.- Specified by:
buildin interfaceAttributeDefinitionXMLElement.Builder- Returns:
- an XML element
-
-