Package org.jboss.as.controller
Interface AttributeMarshallers
-
public interface AttributeMarshallers
- Author:
- Tomaz Cerar (c) 2015 Red Hat Inc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AttributeMarshallers.MapAttributeMarshaller
static class
AttributeMarshallers.NamedStringListMarshaller
static class
AttributeMarshallers.ObjectMapAttributeMarshaller
static class
AttributeMarshallers.PropertiesAttributeMarshaller
static class
AttributeMarshallers.SimpleListAttributeMarshaller
-
Field Summary
Fields Modifier and Type Field Description static AttributeMarshaller
OBJECT_ATTRIBUTE
Marshaller for ObjectTypeAttributeDefinition.static AttributeMarshaller
OBJECT_ELEMENT_ONLY
Marshaller for ObjectTypeAttributeDefinition.static AttributeMarshaller
OBJECT_LIST
static AttributeMarshaller
OBJECT_LIST_UNWRAPPED
static AttributeMarshaller
OBJECT_LIST_WRAPPED
static AttributeMarshaller
OBJECT_MAP_MARSHALLER
static AttributeMarshaller
PROPERTIES_UNWRAPPED
static AttributeMarshaller
PROPERTIES_WRAPPED
static AttributeMarshaller
SIMPLE
simple marshallerstatic AttributeMarshaller
SIMPLE_ELEMENT
marshalls attributes to element where element name is attribute name and its content is value of attributestatic AttributeMarshaller
SIMPLE_ELEMENT_UNWRAP
marshalls attributes to element where element name is attribute name and its content is value of resourceModelstatic AttributeMarshaller
STRING_LIST
space delimited list marshallerstatic AttributeMarshaller
STRING_LIST_COMMA_DELIMITED
comma delimited list marshallerstatic AttributeMarshaller
STRING_LIST_NAMED_ELEMENT
String list marshaller that marshalls to named element list example, name of element is attribute.getXmlName()
-
Method Summary
Static Methods Modifier and Type Method Description static AttributeMarshaller
getObjectMapAttributeMarshaller(String keyElementName)
static AttributeMarshaller
getObjectMapAttributeMarshaller(String elementName, boolean wrapElement)
static AttributeMarshaller
getObjectMapAttributeMarshaller(String wrapperElementName, boolean wrapElement, String elementName, String keyElementName)
static AttributeMarshaller
getObjectMapAttributeMarshaller(String elementName, String keyElementName, boolean wrapElement)
static AttributeMarshaller
getSimpleListMarshaller(boolean wrapper)
-
-
-
Field Detail
-
SIMPLE
static final AttributeMarshaller SIMPLE
simple marshaller
-
SIMPLE_ELEMENT
static final AttributeMarshaller SIMPLE_ELEMENT
marshalls attributes to element where element name is attribute name and its content is value of attribute
-
SIMPLE_ELEMENT_UNWRAP
static final AttributeMarshaller SIMPLE_ELEMENT_UNWRAP
marshalls attributes to element where element name is attribute name and its content is value of resourceModel
-
STRING_LIST
static final AttributeMarshaller STRING_LIST
space delimited list marshaller
-
STRING_LIST_COMMA_DELIMITED
static final AttributeMarshaller STRING_LIST_COMMA_DELIMITED
comma delimited list marshaller
-
STRING_LIST_NAMED_ELEMENT
static final AttributeMarshaller STRING_LIST_NAMED_ELEMENT
String list marshaller that marshalls to named element list example, name of element is attribute.getXmlName()
-
OBJECT_ELEMENT_ONLY
static final AttributeMarshaller OBJECT_ELEMENT_ONLY
Marshaller for ObjectTypeAttributeDefinition. The object and all its attributes will be marshalled as element only.
-
OBJECT_ATTRIBUTE
static final AttributeMarshaller OBJECT_ATTRIBUTE
Marshaller for ObjectTypeAttributeDefinition. The object and all its complex types descendants will get marshalled as elements whereas simple types will get marshalled as attributes.
-
OBJECT_LIST_WRAPPED
static final AttributeMarshaller OBJECT_LIST_WRAPPED
-
OBJECT_LIST_UNWRAPPED
static final AttributeMarshaller OBJECT_LIST_UNWRAPPED
-
OBJECT_LIST
static final AttributeMarshaller OBJECT_LIST
-
OBJECT_MAP_MARSHALLER
static final AttributeMarshaller OBJECT_MAP_MARSHALLER
-
PROPERTIES_WRAPPED
static final AttributeMarshaller PROPERTIES_WRAPPED
-
PROPERTIES_UNWRAPPED
static final AttributeMarshaller PROPERTIES_UNWRAPPED
-
-
Method Detail
-
getObjectMapAttributeMarshaller
static AttributeMarshaller getObjectMapAttributeMarshaller(String keyElementName)
-
getObjectMapAttributeMarshaller
static AttributeMarshaller getObjectMapAttributeMarshaller(String elementName, String keyElementName, boolean wrapElement)
-
getObjectMapAttributeMarshaller
static AttributeMarshaller getObjectMapAttributeMarshaller(String elementName, boolean wrapElement)
-
getObjectMapAttributeMarshaller
static AttributeMarshaller getObjectMapAttributeMarshaller(String wrapperElementName, boolean wrapElement, String elementName, String keyElementName)
-
getSimpleListMarshaller
static AttributeMarshaller getSimpleListMarshaller(boolean wrapper)
-
-