public static final class PersistentResourceXMLDescription.PersistentResourceXMLBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PathElement |
pathElement |
protected final PathElement pathElement
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addChild(PersistentResourceXMLDescription.PersistentResourceXMLBuilder builder)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addChild(PersistentResourceXMLDescription builder)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addAttribute(AttributeDefinition attribute)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addAttribute(AttributeDefinition attribute, AttributeParser attributeParser)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addAttribute(AttributeDefinition attribute, AttributeParser attributeParser, AttributeMarshaller attributeMarshaller)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addAttributes(AttributeDefinition... attributes)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder setXmlWrapperElement(String xmlWrapperElement)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder setXmlElementName(String xmlElementName)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder setUseValueAsElementName(boolean useValueAsElementName)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder setNoAddOperation(boolean noAddOperation)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder setAdditionalOperationsGenerator(PersistentResourceXMLDescription.AdditionalOperationsGenerator additionalOperationsGenerator)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder setForcedName(String forcedName)
forcedName - the name to be forced as resourceNamepublic PersistentResourceXMLDescription.PersistentResourceXMLBuilder setUseElementsForGroups(boolean useElementsForGroups)
attribute group
defined should be persisted to a child element whose name is the name of the group. Child elements
will be ordered based on the order in which attributes are added to this builder. Child elements for
attribute groups will be ordered before elements for child resources.useElementsForGroups - true if child elements should be used.public PersistentResourceXMLDescription.PersistentResourceXMLBuilder setMarshallDefaultValues(boolean marshallDefault)
marshallDefault - weather default values should be persisted or not.public PersistentResourceXMLDescription.PersistentResourceXMLBuilder setNameAttributeName(String nameAttributeName)
nameAttributeName - xml attribute name to be used for resource namepublic PersistentResourceXMLDescription build()
Copyright © 2017 JBoss by Red Hat. All rights reserved.