code: public void readTags(InputStream tagsXML)
      {
          SAXParserFactory factory = SAXParserFactory.newInstance();
          try
          {
              SAXParser saxParser = factory.newSAXParser();
              saxParser.parse(tagsXML, new TagsSaxHandler(this));
          }
          catch (ParserConfigurationException | SAXException | IOException ex)
          {
              throw new RuntimeException("Failed parsing the tags definition: " + ex.getMessage(), ex);
          }
      }
docs: Read the tag structure from the provided stream.