code: public static <T> XmlParser<T> xmlParser( Class<T> root )
      {
          return new XmlParser<>( root, NodeBuilder.tree( root ) );
      }
docs: Create a new {@linkplain XmlParser XML parser} for the given type.
  
  @param root the type of object that corresponds to the root element of the XML document the parser should parse.
  @param <T>  the type of object constructed by the parser.
  @return a new XML parser for the given type.