public class PersistentResourceXMLDescription extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PersistentResourceXMLDescription.AdditionalOperationsGenerator
Some resources require more operations that just a simple add.
|
static class |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder |
Modifier and Type | Field and Description |
---|---|
protected PersistentResourceXMLDescription.AdditionalOperationsGenerator |
additionalOperationsGenerator |
protected LinkedHashMap<String,AttributeDefinition> |
attributes |
protected List<PersistentResourceXMLDescription> |
children |
protected boolean |
noAddOperation |
protected PersistentResourceDefinition |
resourceDefinition |
protected boolean |
useValueAsElementName |
protected String |
xmlElementName |
protected String |
xmlWrapperElement |
Modifier | Constructor and Description |
---|---|
protected |
PersistentResourceXMLDescription(PersistentResourceDefinition resourceDefinition,
String xmlElementName,
String xmlWrapperElement,
LinkedHashMap<String,AttributeDefinition> attributes,
List<PersistentResourceXMLDescription> children,
boolean useValueAsElementName,
boolean noAddOperation,
PersistentResourceXMLDescription.AdditionalOperationsGenerator additionalOperationsGenerator) |
Modifier and Type | Method and Description |
---|---|
static PersistentResourceXMLDescription.PersistentResourceXMLBuilder |
builder(PersistentResourceDefinition resource) |
void |
parse(org.jboss.staxmapper.XMLExtendedStreamReader reader,
PathAddress parentAddress,
List<org.jboss.dmr.ModelNode> list) |
void |
parseChildren(org.jboss.staxmapper.XMLExtendedStreamReader reader,
PathAddress parentAddress,
List<org.jboss.dmr.ModelNode> list) |
void |
persist(org.jboss.staxmapper.XMLExtendedStreamWriter writer,
org.jboss.dmr.ModelNode model) |
void |
persist(org.jboss.staxmapper.XMLExtendedStreamWriter writer,
org.jboss.dmr.ModelNode model,
String namespaceURI) |
void |
persistChildren(org.jboss.staxmapper.XMLExtendedStreamWriter writer,
org.jboss.dmr.ModelNode model) |
void |
startSubsystemElement(org.jboss.staxmapper.XMLExtendedStreamWriter writer,
String namespaceURI,
boolean empty) |
protected final PersistentResourceDefinition resourceDefinition
protected final String xmlElementName
protected final String xmlWrapperElement
protected final LinkedHashMap<String,AttributeDefinition> attributes
protected final List<PersistentResourceXMLDescription> children
protected final boolean useValueAsElementName
protected final boolean noAddOperation
protected final PersistentResourceXMLDescription.AdditionalOperationsGenerator additionalOperationsGenerator
protected PersistentResourceXMLDescription(PersistentResourceDefinition resourceDefinition, String xmlElementName, String xmlWrapperElement, LinkedHashMap<String,AttributeDefinition> attributes, List<PersistentResourceXMLDescription> children, boolean useValueAsElementName, boolean noAddOperation, PersistentResourceXMLDescription.AdditionalOperationsGenerator additionalOperationsGenerator)
public void parse(org.jboss.staxmapper.XMLExtendedStreamReader reader, PathAddress parentAddress, List<org.jboss.dmr.ModelNode> list) throws XMLStreamException
XMLStreamException
public void parseChildren(org.jboss.staxmapper.XMLExtendedStreamReader reader, PathAddress parentAddress, List<org.jboss.dmr.ModelNode> list) throws XMLStreamException
XMLStreamException
public void persist(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode model) throws XMLStreamException
XMLStreamException
public void startSubsystemElement(org.jboss.staxmapper.XMLExtendedStreamWriter writer, String namespaceURI, boolean empty) throws XMLStreamException
XMLStreamException
public void persist(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode model, String namespaceURI) throws XMLStreamException
XMLStreamException
public void persistChildren(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode model) throws XMLStreamException
XMLStreamException
public static PersistentResourceXMLDescription.PersistentResourceXMLBuilder builder(PersistentResourceDefinition resource)
Copyright © 2013 JBoss by Red Hat. All rights reserved.