refactor document-validator-server using DocumentParserFactory instead of Parser Constructor  fix checkstyle error in DocumentValidateResource

refactor document-validator-server using DocumentParserFactory instead of Parser Constructor
fix checkstyle error in DocumentValidateResource