code: public static void xml2Java(String xml, String srcPath, String packageName, String className, boolean isPublicField) {
          xml2Java(IOUtil.string2InputStream(xml), srcPath, packageName, className, isPublicField);
      }
docs: Generate java code by the specified xml.
  
  @param xml
  @param srcPath
  @param packageName
  @param className
  @param isPublicField