Code example for DefaultConversionService

0
 
    private final XPathFactory xpathFactory = createXPathFactory();
 
    private TransformerHelper transformerHelper = new TransformerHelper();
 
    private ConversionService conversionService = new DefaultConversionService();
 
    /** 
     * Sets the conversion service to use. 
     * 
     * <p>Defaults to the {@linkplain ConversionServiceFactory#createDefaultConversionService() default conversion 
     * service}. 
     */ 
    public void setConversionService(ConversionService conversionService) {
        this.conversionService = conversionService;
    } 
 
    public void setTransformerHelper(TransformerHelper transformerHelper) {
        this.transformerHelper = transformerHelper;
    } 
Connect your IDE to all the code out there  Get Codota for Java