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>
AnXMLElementWriterbased on aPersistentResourceXMLDescription.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description PersistentResourceXMLDescriptionWriter(Supplier<PersistentResourceXMLDescription> description)Creates anXMLElementWriterusing the specifiedPersistentResourceXMLDescriptionsupplier.PersistentResourceXMLDescriptionWriter(PersistentResourceXMLDescription description)Creates anXMLElementWriterusing the specifiedPersistentResourceXMLDescription.PersistentResourceXMLDescriptionWriter(PersistentSubsystemSchema<S> schema)Creates anXMLElementWriterusing the specified subsystem schema.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, SubsystemMarshallingContext context)
-
-
-
Constructor Detail
-
PersistentResourceXMLDescriptionWriter
public PersistentResourceXMLDescriptionWriter(Supplier<PersistentResourceXMLDescription> description)
Creates anXMLElementWriterusing the specifiedPersistentResourceXMLDescriptionsupplier.- Parameters:
description- aPersistentResourceXMLDescriptionsupplier
-
PersistentResourceXMLDescriptionWriter
public PersistentResourceXMLDescriptionWriter(PersistentResourceXMLDescription description)
Creates anXMLElementWriterusing the specifiedPersistentResourceXMLDescription.- Parameters:
description- aPersistentResourceXMLDescription
-
PersistentResourceXMLDescriptionWriter
public PersistentResourceXMLDescriptionWriter(PersistentSubsystemSchema<S> schema)
Creates anXMLElementWriterusing 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:
writeContentin interfaceorg.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>- Throws:
XMLStreamException
-
-