protected Source convertString2Source ( String param ) { Source src ; try { src = uriResolver . resolve ( param , null ) ; } catch ( TransformerException e ) { src = null ; } if ( src == null ) { src = new StreamSource ( new File ( param ) ) ; } return src ; }
Converts a String parameter to a JAXP Source object .