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