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>>
AnXMLElementReaderbased on aPersistentResourceXMLDescription.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description PersistentResourceXMLDescriptionReader(Supplier<PersistentResourceXMLDescription> description)Creates anXMLElementReaderusing the specifiedPersistentResourceXMLDescriptionsupplier.PersistentResourceXMLDescriptionReader(PersistentResourceXMLDescription description)Creates anXMLElementReaderusing the specifiedPersistentResourceXMLDescription.PersistentResourceXMLDescriptionReader(PersistentSubsystemSchema<S> schema)Creates anXMLElementReaderfor the specified subsystem schema.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadElement(org.jboss.staxmapper.XMLExtendedStreamReader reader, List<org.jboss.dmr.ModelNode> operations)
-
-
-
Constructor Detail
-
PersistentResourceXMLDescriptionReader
public PersistentResourceXMLDescriptionReader(Supplier<PersistentResourceXMLDescription> description)
Creates anXMLElementReaderusing the specifiedPersistentResourceXMLDescriptionsupplier.- Parameters:
description- aPersistentResourceXMLDescriptionsupplier
-
PersistentResourceXMLDescriptionReader
public PersistentResourceXMLDescriptionReader(PersistentResourceXMLDescription description)
Creates anXMLElementReaderusing the specifiedPersistentResourceXMLDescription.- Parameters:
description- aPersistentResourceXMLDescription
-
PersistentResourceXMLDescriptionReader
public PersistentResourceXMLDescriptionReader(PersistentSubsystemSchema<S> schema)
Creates anXMLElementReaderfor 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:
readElementin interfaceorg.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>- Throws:
XMLStreamException
-
-