Interface ModelMarshallingContext


  • public interface ModelMarshallingContext
    Context passed to XMLElementWriters that marshal a model.
    Author:
    Brian Stansberry (c) 2011 Red Hat Inc.
    • Method Detail

      • getModelNode

        org.jboss.dmr.ModelNode getModelNode()
        Gets the model to marshal.
        Returns:
        the model
      • getSubsystemWriter

        org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext> getSubsystemWriter​(String subsystemName)
        Gets the writer that can marshal the subsystem with the given name.
        Parameters:
        subsystemName - the name of the subsystem
        Returns:
        the writer, or null if there is no writer registered under subsystemName