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