public static <T> String marshal(JAXBContext self, T jaxbElement) throws JAXBException {
        return marshal(self.createMarshaller(), jaxbElement);
    }
public static < T > String marshal ( JAXBContext self , T jaxbElement ) throws JAXBException { return marshal ( self . createMarshaller ( ) , jaxbElement ) ; }
Marshall an object to a xml {@code String}.

@param self a JaxbContext, which recognizes the type of the given object
@param jaxbElement object to marshall to a {@code String}
@return String representing the object as xml