Code example for DefaultHandler

0
	// Save the reference to the transformer 
	_transformer = transformer;
 
	if (transformer.isIdentity()) {
	    // Set initial handler to the empty handler 
	    _handler = new DefaultHandler();
	    _isIdentity = true;
	} 
	else { 
	    // Get a reference to the translet wrapped inside the transformer 
	    _translet = _transformer.getTranslet();
	} 
    } 
 
    /** 
     * Implements javax.xml.transform.sax.TransformerHandler.getSystemId() 
     * Get the base ID (URI or system ID) from where relative URLs will be 
     * resolved. 
     * @return The systemID that was set with setSystemId(String id) 
     */ 
    public String getSystemId() {