Package org.jboss.as.controller
Class AttributeMarshallers.ObjectMapAttributeMarshaller
- java.lang.Object
-
- org.jboss.as.controller.AttributeMarshaller
-
- org.jboss.as.controller.AttributeMarshallers.MapAttributeMarshaller
-
- org.jboss.as.controller.AttributeMarshallers.ObjectMapAttributeMarshaller
-
- Enclosing interface:
- AttributeMarshallers
public static class AttributeMarshallers.ObjectMapAttributeMarshaller extends AttributeMarshallers.MapAttributeMarshaller
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.as.controller.AttributeMarshaller
AttributeMarshaller.AttributeElementMarshaller
-
-
Field Summary
Fields Modifier and Type Field Description protected String
keyAttributeName
-
Fields inherited from class org.jboss.as.controller.AttributeMarshallers.MapAttributeMarshaller
elementName, wrapElement, wrapperElement
-
Fields inherited from class org.jboss.as.controller.AttributeMarshaller
ATTRIBUTE_OBJECT, COMMA_STRING_LIST, ELEMENT_ONLY_OBJECT, OBJECT_LIST_MARSHALLER, OBJECT_MAP_MARSHALLER, PROPERTIES_MARSHALLER, PROPERTIES_MARSHALLER_UNWRAPPED, SIMPLE, STRING_LIST, UNWRAPPED_OBJECT_LIST_MARSHALLER, WRAPPED_OBJECT_LIST_MARSHALLER
-
-
Constructor Summary
Constructors Constructor Description ObjectMapAttributeMarshaller()
ObjectMapAttributeMarshaller(String keyAttributeName)
ObjectMapAttributeMarshaller(String wrapperElement, boolean wrapElement)
ObjectMapAttributeMarshaller(String wrapperElement, String elementName, boolean wrapElement)
ObjectMapAttributeMarshaller(String wrapperElement, String elementName, boolean wrapElement, String keyAttributeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
marshallSingleElement(AttributeDefinition attribute, org.jboss.dmr.ModelNode property, boolean marshallDefault, XMLStreamWriter writer)
-
Methods inherited from class org.jboss.as.controller.AttributeMarshallers.MapAttributeMarshaller
isMarshallableAsElement, marshallAsAttribute, marshallAsElement
-
Methods inherited from class org.jboss.as.controller.AttributeMarshaller
isMarshallable, isMarshallable, marshall, marshallElementContent
-
-
-
-
Field Detail
-
keyAttributeName
protected final String keyAttributeName
-
-
Constructor Detail
-
ObjectMapAttributeMarshaller
public ObjectMapAttributeMarshaller(String wrapperElement, String elementName, boolean wrapElement, String keyAttributeName)
-
ObjectMapAttributeMarshaller
public ObjectMapAttributeMarshaller(String wrapperElement, String elementName, boolean wrapElement)
-
ObjectMapAttributeMarshaller
public ObjectMapAttributeMarshaller(String wrapperElement, boolean wrapElement)
-
ObjectMapAttributeMarshaller
public ObjectMapAttributeMarshaller(String keyAttributeName)
-
ObjectMapAttributeMarshaller
public ObjectMapAttributeMarshaller()
-
-
Method Detail
-
marshallSingleElement
public void marshallSingleElement(AttributeDefinition attribute, org.jboss.dmr.ModelNode property, boolean marshallDefault, XMLStreamWriter writer) throws XMLStreamException
- Specified by:
marshallSingleElement
in classAttributeMarshallers.MapAttributeMarshaller
- Throws:
XMLStreamException
-
-