Code example for EntityResolver

Methods: resolveEntity

0
        if (entityResolver != null)
        { 
            // Delegate to the entity resolver 
            try 
            { 
                source = entityResolver.resolveEntity(publicId, systemId);
            } 
            catch (IOException ioe)
            { 
                // Do nothing 
            } 
        } 
        if (source == null)
        { 
            try 
            { 
                return super.resolveEntity(publicId, systemId);
            } 
            catch (IOException ioe)
            { 
                // Do nothing