Package org.jboss.as.controller
Interface AttributeMarshallers
public interface AttributeMarshallers
- Author:
- Tomaz Cerar (c) 2015 Red Hat Inc.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeMarshallerMarshaller for ObjectTypeAttributeDefinition.static final AttributeMarshallerMarshaller for ObjectTypeAttributeDefinition.static final AttributeMarshallerstatic final AttributeMarshallerstatic final AttributeMarshallerstatic final AttributeMarshallerstatic final AttributeMarshallerstatic final AttributeMarshallerstatic final AttributeMarshallersimple marshallerstatic final AttributeMarshallermarshalls attributes to element where element name is attribute name and its content is value of attributestatic final AttributeMarshallermarshalls attributes to element where element name is attribute name and its content is value of resourceModelstatic final AttributeMarshallerspace delimited list marshallerstatic final AttributeMarshallercomma delimited list marshallerstatic final AttributeMarshallerString list marshaller that marshalls to named element list example, name of element is attribute.getXmlName() -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic 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 Details
-
SIMPLE
simple marshaller -
SIMPLE_ELEMENT
marshalls attributes to element where element name is attribute name and its content is value of attribute -
SIMPLE_ELEMENT_UNWRAP
marshalls attributes to element where element name is attribute name and its content is value of resourceModel -
STRING_LIST
space delimited list marshaller -
STRING_LIST_COMMA_DELIMITED
comma delimited list marshaller -
STRING_LIST_NAMED_ELEMENT
String list marshaller that marshalls to named element list example, name of element is attribute.getXmlName() -
OBJECT_ELEMENT_ONLY
Marshaller for ObjectTypeAttributeDefinition. The object and all its attributes will be marshalled as element only. -
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
-
OBJECT_LIST_UNWRAPPED
-
OBJECT_LIST
-
OBJECT_MAP_MARSHALLER
-
PROPERTIES_WRAPPED
-
PROPERTIES_UNWRAPPED
-
-
Method Details
-
getObjectMapAttributeMarshaller
-
getObjectMapAttributeMarshaller
static AttributeMarshaller getObjectMapAttributeMarshaller(String elementName, String keyElementName, boolean wrapElement) -
getObjectMapAttributeMarshaller
-
getObjectMapAttributeMarshaller
static AttributeMarshaller getObjectMapAttributeMarshaller(String wrapperElementName, boolean wrapElement, String elementName, String keyElementName) -
getSimpleListMarshaller
-