@Override
    protected ResolveUtil.Matcher changeDocument(XmlDocument document) {
      return new MyModeMatcher(document, myMode);
    }
@Override
    protected ResolveUtil.Matcher changeDocument(XmlDocument document)