Interface AttributeMarshallers


public interface AttributeMarshallers
Author:
Tomaz Cerar (c) 2015 Red Hat Inc.
  • Field Details

    • 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 Details

    • 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)