docs: public static ContentMatcher getInstance(InputStream xmlInputStream) {
          ContentMatcher cm = new ContentMatcher();
  
          // Load the pattern definitions from an XML file
          try {
              cm.loadXMLPatternDefinitions(xmlInputStream);
              
          } catch (JDOMException | IOException ex) {
              throw new IllegalArgumentException("Failed to initialize the ContentMatcher object using that stream", ex);
          }
          
          return cm;
      }