public static class AttributeMarshallers.ObjectMapAttributeMarshaller extends AttributeMarshallers.MapAttributeMarshaller
AttributeMarshaller.AttributeElementMarshaller
Modifier and Type | Field and Description |
---|---|
protected String |
keyAttributeName |
elementName, wrapElement, wrapperElement
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 and 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) |
Modifier and Type | Method and Description |
---|---|
void |
marshallSingleElement(AttributeDefinition attribute,
org.jboss.dmr.ModelNode property,
boolean marshallDefault,
XMLStreamWriter writer) |
isMarshallableAsElement, marshallAsAttribute, marshallAsElement
isMarshallable, isMarshallable, marshall, marshallElementContent
protected final String keyAttributeName
public ObjectMapAttributeMarshaller(String wrapperElement, String elementName, boolean wrapElement, String keyAttributeName)
public ObjectMapAttributeMarshaller(String wrapperElement, String elementName, boolean wrapElement)
public ObjectMapAttributeMarshaller(String wrapperElement, boolean wrapElement)
public ObjectMapAttributeMarshaller(String keyAttributeName)
public ObjectMapAttributeMarshaller()
public void marshallSingleElement(AttributeDefinition attribute, org.jboss.dmr.ModelNode property, boolean marshallDefault, XMLStreamWriter writer) throws XMLStreamException
marshallSingleElement
in class AttributeMarshallers.MapAttributeMarshaller
XMLStreamException
Copyright © 2020 JBoss by Red Hat. All rights reserved.