private void marshallPrimitive(Object value,PrimitiveType primitiveType) throws XMLStreamException {
  LOG.debug("Primitive value: {} of type: {}",value,primitiveType);
  if (value != null) {
    xmlWriter.writeCharacters(value.toString());
  }
}

private void marshallPrimitive ( Object value , PrimitiveType primitiveType ) throws XMLStreamException { LOG . debug ( "Primitive value: {} of type: {}" , value , primitiveType ) ; if ( value != null ) { xmlWriter . writeCharacters ( value . toString ( ) ) ; } }
marshall a primitive value .
