} else if(serializationAnnotation instanceof MediaTypeAnnotation) {
//serialization media type
mediaType = ((MediaTypeAnnotation)serializationAnnotation).getMediaType();
} else if(serializationAnnotation instanceof AbstractYesNoSerializationAnnotation) {
final AbstractYesNoSerializationAnnotation yesNoSerializationAnnotation = (AbstractYesNoSerializationAnnotation)serializationAnnotation;
if(yesNoSerializationAnnotation instanceof IndentAnnotation) {
//serialization indent
serializationProperties.put(SerializationProperty.INDENT, yesNoSerializationAnnotation.getStringValue());
} else if(yesNoSerializationAnnotation instanceof OmitXmlDeclarationAnnotation) {
//serialization omit xml declaration
serializationProperties.put(SerializationProperty.OMIT_XML_DECLARATION, yesNoSerializationAnnotation.getStringValue());
}
}
}