public static class PersistentResourceXMLDescription.PersistentResourceXMLBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected PersistentResourceXMLDescription.AdditionalOperationsGenerator |
additionalOperationsGenerator |
protected LinkedHashMap<String,AttributeParser> |
attributeParsers |
protected LinkedHashMap<String,AttributeDefinition> |
attributes |
protected List<PersistentResourceXMLDescription.PersistentResourceXMLBuilder> |
children |
protected boolean |
noAddOperation |
protected PersistentResourceDefinition |
resourceDefinition |
protected boolean |
useValueAsElementName |
protected String |
xmlElementName |
protected String |
xmlWrapperElement |
Modifier | Constructor and Description |
---|---|
protected |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder(PersistentResourceDefinition resourceDefinition) |
protected final PersistentResourceDefinition resourceDefinition
protected String xmlElementName
protected String xmlWrapperElement
protected boolean useValueAsElementName
protected boolean noAddOperation
protected PersistentResourceXMLDescription.AdditionalOperationsGenerator additionalOperationsGenerator
protected final LinkedHashMap<String,AttributeDefinition> attributes
protected final List<PersistentResourceXMLDescription.PersistentResourceXMLBuilder> children
protected final LinkedHashMap<String,AttributeParser> attributeParsers
protected PersistentResourceXMLDescription.PersistentResourceXMLBuilder(PersistentResourceDefinition resourceDefinition)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addChild(PersistentResourceXMLDescription.PersistentResourceXMLBuilder builder)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addAttribute(AttributeDefinition attribute)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addAttribute(AttributeDefinition attribute, AttributeParser attributeParser)
public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addAttributes(AttributeDefinition... attributes)
@Deprecated public PersistentResourceXMLDescription.PersistentResourceXMLBuilder addAttributes(Collection<? extends 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 build()
Copyright © 2014 JBoss by Red Hat. All rights reserved.