Package org.jboss.as.controller
Class PersistentResourceXMLDescriptionWriter
- java.lang.Object
-
- org.jboss.as.controller.PersistentResourceXMLDescriptionWriter
-
- All Implemented Interfaces:
org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
public class PersistentResourceXMLDescriptionWriter extends Object implements org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
AnXMLElementWriter
based on aPersistentResourceXMLDescription
.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description PersistentResourceXMLDescriptionWriter(Supplier<PersistentResourceXMLDescription> description)
Creates anXMLElementWriter
using the specifiedPersistentResourceXMLDescription
supplier.PersistentResourceXMLDescriptionWriter(PersistentResourceXMLDescription description)
Creates anXMLElementWriter
using the specifiedPersistentResourceXMLDescription
.PersistentResourceXMLDescriptionWriter(PersistentSubsystemSchema<S> schema)
Creates anXMLElementWriter
using the specified subsystem schema.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, SubsystemMarshallingContext context)
-
-
-
Constructor Detail
-
PersistentResourceXMLDescriptionWriter
public PersistentResourceXMLDescriptionWriter(Supplier<PersistentResourceXMLDescription> description)
Creates anXMLElementWriter
using the specifiedPersistentResourceXMLDescription
supplier.- Parameters:
description
- aPersistentResourceXMLDescription
supplier
-
PersistentResourceXMLDescriptionWriter
public PersistentResourceXMLDescriptionWriter(PersistentResourceXMLDescription description)
Creates anXMLElementWriter
using the specifiedPersistentResourceXMLDescription
.- Parameters:
description
- aPersistentResourceXMLDescription
-
PersistentResourceXMLDescriptionWriter
public PersistentResourceXMLDescriptionWriter(PersistentSubsystemSchema<S> schema)
Creates anXMLElementWriter
using the specified subsystem schema.- Parameters:
schema
- a subsystem schema
-
-
Method Detail
-
writeContent
public void writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException
- Specified by:
writeContent
in interfaceorg.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
- Throws:
XMLStreamException
-
-