Interface ModelMarshallingContext
public interface ModelMarshallingContext
Context passed to
XMLElementWriters that marshal a model.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.dmr.ModelNodeGets 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 Details
-
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
nullif there is no writer registered undersubsystemName
-