public static final class AttributeMarshallers.WrappedListAttributeMarshaller
extends 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 and Description |
|---|
WrappedListAttributeMarshaller(String wrappingElementName) |
| Modifier and Type | Method and Description |
|---|---|
void |
marshallAsElement(org.jboss.as.controller.AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer) |
public WrappedListAttributeMarshaller(String wrappingElementName)
wrappingElementName - @null if the list of connector must not be wrapper
or the name of the XML element that wraps the list.public void marshallAsElement(org.jboss.as.controller.AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer)
throws XMLStreamException
marshallAsElement in class org.jboss.as.controller.AttributeMarshallerXMLStreamExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.