Interface ModelMarshallingContext
-
public interface ModelMarshallingContext
Context passed toXMLElementWriter
s that marshal a model.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.dmr.ModelNode
getModelNode()
Gets the model to marshal.org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
getSubsystemWriter(String subsystemName)
Gets the writer that can marshal the subsystem with the given name.
-
-
-
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 undersubsystemName
-
-