Code example for Transformer

Methods: setURIResolver

0
	TransformerConfigurationException  
    { 
	final Templates templates = newTemplates(source);
	final Transformer transformer = templates.newTransformer();
	if (_uriResolver != null) {
	    transformer.setURIResolver(_uriResolver);
	} 
	return(transformer);
    } 
 
    /** 
     * Pass warning messages from the compiler to the error listener 
     */ 
    private void passWarningsToListener(Vector messages) 
	throws TransformerException  
    { 
	if (_errorListener == null || messages == null) {
	    return; 
	} 
	// Pass messages to listener, one by one 
	final int count = messages.size();