code: private void marshallEnum(Object value, EnumType enumType) throws XMLStreamException {
          LOG.trace("Enum value: {} of type: {}", value, enumType);
          xmlWriter.writeCharacters(value.toString());
      }
docs: Marshall an enum value.
  
  @param value    The value to marshall. Can be {@code null}.
  @param enumType The OData enum type.