Package org.jboss.as.controller
Class PersistentResourceXMLDescriptionReader
- java.lang.Object
-
- org.jboss.as.controller.PersistentResourceXMLDescriptionReader
-
- All Implemented Interfaces:
org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>
public class PersistentResourceXMLDescriptionReader extends Object implements org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>
AnXMLElementReader
based on aPersistentResourceXMLDescription
.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description PersistentResourceXMLDescriptionReader(Supplier<PersistentResourceXMLDescription> description)
Creates anXMLElementReader
using the specifiedPersistentResourceXMLDescription
supplier.PersistentResourceXMLDescriptionReader(PersistentResourceXMLDescription description)
Creates anXMLElementReader
using the specifiedPersistentResourceXMLDescription
.PersistentResourceXMLDescriptionReader(PersistentSubsystemSchema<S> schema)
Creates anXMLElementReader
for the specified subsystem schema.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
readElement(org.jboss.staxmapper.XMLExtendedStreamReader reader, List<org.jboss.dmr.ModelNode> operations)
-
-
-
Constructor Detail
-
PersistentResourceXMLDescriptionReader
public PersistentResourceXMLDescriptionReader(Supplier<PersistentResourceXMLDescription> description)
Creates anXMLElementReader
using the specifiedPersistentResourceXMLDescription
supplier.- Parameters:
description
- aPersistentResourceXMLDescription
supplier
-
PersistentResourceXMLDescriptionReader
public PersistentResourceXMLDescriptionReader(PersistentResourceXMLDescription description)
Creates anXMLElementReader
using the specifiedPersistentResourceXMLDescription
.- Parameters:
description
- aPersistentResourceXMLDescription
-
PersistentResourceXMLDescriptionReader
public PersistentResourceXMLDescriptionReader(PersistentSubsystemSchema<S> schema)
Creates anXMLElementReader
for the specified subsystem schema.- Parameters:
schema
- a subsystem schema
-
-
Method Detail
-
readElement
public void readElement(org.jboss.staxmapper.XMLExtendedStreamReader reader, List<org.jboss.dmr.ModelNode> operations) throws XMLStreamException
- Specified by:
readElement
in interfaceorg.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>
- Throws:
XMLStreamException
-
-