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 classAttributeMarshallers.MapAttributeMarshallerstatic classAttributeMarshallers.NamedStringListMarshallerstatic classAttributeMarshallers.ObjectMapAttributeMarshallerstatic classAttributeMarshallers.PropertiesAttributeMarshallerstatic classAttributeMarshallers.SimpleListAttributeMarshaller
-
Field Summary
Fields Modifier and Type Field Description static AttributeMarshallerOBJECT_ATTRIBUTEMarshaller for ObjectTypeAttributeDefinition.static AttributeMarshallerOBJECT_ELEMENT_ONLYMarshaller for ObjectTypeAttributeDefinition.static AttributeMarshallerOBJECT_LISTstatic AttributeMarshallerOBJECT_LIST_UNWRAPPEDstatic AttributeMarshallerOBJECT_LIST_WRAPPEDstatic AttributeMarshallerOBJECT_MAP_MARSHALLERstatic AttributeMarshallerPROPERTIES_UNWRAPPEDstatic AttributeMarshallerPROPERTIES_WRAPPEDstatic AttributeMarshallerSIMPLEsimple marshallerstatic AttributeMarshallerSIMPLE_ELEMENTmarshalls attributes to element where element name is attribute name and its content is value of attributestatic AttributeMarshallerSIMPLE_ELEMENT_UNWRAPmarshalls attributes to element where element name is attribute name and its content is value of resourceModelstatic AttributeMarshallerSTRING_LISTspace delimited list marshallerstatic AttributeMarshallerSTRING_LIST_COMMA_DELIMITEDcomma delimited list marshallerstatic AttributeMarshallerSTRING_LIST_NAMED_ELEMENTString 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 AttributeMarshallergetObjectMapAttributeMarshaller(String keyElementName)static AttributeMarshallergetObjectMapAttributeMarshaller(String elementName, boolean wrapElement)static AttributeMarshallergetObjectMapAttributeMarshaller(String wrapperElementName, boolean wrapElement, String elementName, String keyElementName)static AttributeMarshallergetObjectMapAttributeMarshaller(String elementName, String keyElementName, boolean wrapElement)static AttributeMarshallergetSimpleListMarshaller(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)
-
-