_ivy.setDefaultLatestStrategy(_ivy.getLatestStrategy(_ivy.substitute(_defaultLatest)));
LatestStrategy latestStrategy = _ivy.getLatestStrategy(_ivy.substitute(_defaultLatest)); if (latestStrategy == null) { throw new IllegalArgumentException("unknown latest strategy " + _ivy.substitute(_defaultLatest)); } _ivy.setDefaultLatestStrategy(latestStrategy);
    public void endDocument() throws SAXException {        if (_defaultResolver != null) {            _ivy.setDefaultResolver(_ivy.substitute(_defaultResolver));        }        if (_defaultCM != null) {            _ivy.setDefaultConflictManager(_ivy.getConflictManager(_ivy.substitute(_defaultCM)));        }        if (_defaultLatest != null) {            _ivy.setDefaultLatestStrategy(_ivy.getLatestStrategy(_ivy.substitute(_defaultLatest)));        }    }