Examples of Comment

  • org.netbeans.modules.exceptions.entity.Comment
    @author Jan Horvath
  • org.objectweb.asm.attrs.Comment
    A non standard attribute used for testing purposes. @author Eric Bruneton
  • org.omg.uml.foundation.core.Comment
  • org.openblend.fejstbuk.domain.Comment
    @author Ales Justin
  • org.opensocial.models.myspace.Comment
    operwiki.myspace.com/index.php?title=OpenSocial_v0.9_ProfileComments @author Jason Cooper
  • org.ow2.asm.attrs.Comment
    A non standard attribute used for testing purposes. @author Eric Bruneton
  • org.pdf4j.saxon.instruct.Comment
    An instruction representing an xsl:comment element in the stylesheet.
  • org.richfaces.photoalbum.model.Comment
    Class for representing Comment Entity. EJB3 Entity Bean @author Andrey Markhel
  • org.snippr.business.entities.Comment
    @author Miguel Gonzalez @author José Manuel Ciges Regueiro @version 20120903
  • org.springframework.roo.addon.roobot.client.model.Comment
  • org.springframework.social.alfresco.api.entities.Comment
    A comment on folders and individual items to give other users information or notes specific to that content. @author jottley
  • org.superbiz.rest.model.Comment
    @author Romain Manni-Bucau
  • org.thymeleaf.dom.Comment

    A Comment node in a Thymeleaf DOM tree.

    @author Daniel Fernández @since 2.0.0
  • org.uned.agonzalo16.bitacora.domain.Comment
  • org.vorbis.jcraft.jorbis.Comment
    @author jkeller1
  • org.w3c.dom.Comment
    This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ' <!-- ' and ending '--> '. Note that this is the definition of a comment in XML, and, in practice, HTML, although some HTML tools may implement the full SGML comment structure.
  • org.wso2.carbon.dashboard.common.bean.Comment
    The bean represent a comment (meta information) for a gadget
  • org.wso2.carbon.registry.common.beans.utils.Comment
    Represents comments and its metadata. Note that only the Comment.text field needs to be filled when adding new comments. All other attributes are ignored and they are filled with appropriate values for the current context. Therefore, when constructing an instance of this class outside the Registry impl, it is recommended to use new Comment("my comment text") constructor.
  • org.wso2.carbon.registry.core.Comment
    Represents comments and its meta data. Note that only the Comment.text field needs to be filled when adding new comments. All other attributes are ignored and they are filled with appropriate values for the current context. Therefore, when constructing an instance of this class outside the Registry impl, it is recommended to use new Comment("my comment text") constructor.
  • org.xwiki.rest.model.jaxb.Comment
  • org.zkoss.poi.ss.usermodel.Comment
  • ru.org.linux.comment.Comment
    DTO-объект для хранения одного комментария из DAO
  • se.gu.fire.core.Comment
    Represents a comment made regarding an Submission object. When a some user (student, grader or admin) writes a comment regarding a submission, the comment is represented by this class.
  • springblog.pojo.Comment
  • systole.domain.report.template.Comment
    @author jmj
  • tk.vovanok.data.Comment
    @author vovan_000
  • urban.model.Comment
    A line of comment.
  • wblog.domain.Comment
  • weblogic.xml.stream.Comment
    A marker interface for comment data @since Weblogic XML Input Stream 1.0 @version 1.0 @see weblogic.xml.stream.XMLEvent
  • weibo4j.Comment
    A data class representing one single status of a user. @author Yusuke Yamamoto - yusuke at mac.com
  • weibo4j.model.Comment
  • xtc.tree.Comment
    A source code comment. @author Robert Grimm @version $Revision: 1.11 $
  • zendeskapi.models.tickets.Comment
    @author jgroth

  • Examples of com.bacoder.parser.javaproperties.api.Comment

        super(adapters);
      }

      @Override
      public Comment adapt(CommentContext context) {
        Comment comment = createData(context);
        comment.setText(context.getText());
        return comment;
      }
    View Full Code Here

    Examples of com.barsoft.memepost.entities.Comment


            for (User u : users.getUsers().keySet()) {
                for (Post p : ((List<Post>) users.getUsers().get(u))) {
                    if (p.getId() == Integer.parseInt(curpost)) {
                        Comment c=new Comment();
                        c.setText(request.getParameter("comment"));
                        c.setUser(curuser);
                        p.getComments().add(c);
                        response.sendRedirect(request.getContextPath() + "/home.jsp");
                       return;
                    }
                   
    View Full Code Here

    Examples of com.freewebsys.blog.pojo.Comment

       */
      @Transactional
      public void deleteCommentById(Long id) throws Exception {
        log.info("deleteCommentById:" + id);
        try {
          Comment comment = (Comment) baseDao.findById(Comment.class, id);
          baseDao.delete(comment);
        } catch (Exception e) {
          log.info("Comment删除异常");
          e.printStackTrace();
        }
    View Full Code Here

    Examples of com.freewebsys.sns.pojo.Comment

       * 保存action.
       */
      public void saveComment() throws Exception {
        System.out.println("saveComment," + appType + "," + appId);
        try {
          Comment comment = new Comment();
          comment.setAppType(appType);
          comment.setAppId(appId);
          comment.setParentId(parentId);
          comment.setCreateTime(new Date());
          comment.setComment(commentContent);
          commentService.saveComment(comment);
        } catch (Exception e) {
          writeToPage("0");// 失败
        }
        writeToPage("1");// 成功
    View Full Code Here

    Examples of com.github.antlrjavaparser.api.Comment

         * @param rooComment
         * @return
         */
        private static Comment adaptComment(
                final org.springframework.roo.classpath.details.comments.AbstractComment rooComment) {
            Comment comment;

            if (rooComment instanceof org.springframework.roo.classpath.details.comments.LineComment) {
                comment = new LineComment();
            }
            else if (rooComment instanceof org.springframework.roo.classpath.details.comments.JavadocComment) {
                comment = new JavadocComment();
            }
            else {
                comment = new BlockComment();
            }

            comment.setContent(rooComment.getComment());

            return comment;
        }
    View Full Code Here

    Examples of com.github.api.v2.schema.Comment

      @Override
      public Comment addIssueComment(String userName, String repositoryName,
          int issueNumber, String comment) {
        GitHubApiUrlBuilder builder = createGitHubApiUrlBuilder(GitHubApiUrls.IssueApiUrls.ADD_ISSUE_COMMENT_URL);
            String                apiUrl  = builder.withField(ParameterNames.USER_NAME, userName).withField(ParameterNames.REPOSITORY_NAME, repositoryName).withField(ParameterNames.ISSUE_NUMBER, String.valueOf(issueNumber)).buildUrl();
        Comment bean = new Comment();
        bean.setBody(comment);
            JsonObject json = unmarshall(callApiMethod(apiUrl, marshall(bean), ApplicationConstants.CONTENT_TYPE_JSON, HttpMethod.POST, 201));
            return unmarshall(new TypeToken<Comment>(){}, json);
      }
    View Full Code Here

    Examples of com.github.jreddit.entity.Comment

            assertEquals(result.get(0).getFullName(), "t1_redditObjId1");
            assertEquals(result.get(1).getFullName(), "t1_redditObjId2");
            assertEquals(result.get(2).getFullName(), "t1_redditObjId3");
           
            // Comment1
            Comment comment1 = result.get(0);
            assertEquals(3, comment1.getReplies().size());
            assertEquals(comment1.getReplies().get(0).getFullName(), "t1_redditObjId11");
            assertEquals(comment1.getReplies().get(1).getFullName(), "t1_redditObjId12");
            assertEquals(comment1.getReplies().get(2).getFullName(), "t1_redditObjId13");
           
            // Comment11
            Comment comment11 = comment1.getReplies().get(0);
            assertEquals(2, comment11.getReplies().size());
            assertEquals(comment11.getReplies().get(0).getFullName(), "t1_redditObjId111");
            assertEquals(comment11.getReplies().get(1).getFullName(), "t1_redditObjId112");
           
            // Comment2
            Comment comment2 = result.get(1);
            assertEquals(2, comment2.getReplies().size());
            assertEquals(comment2.getReplies().get(0).getFullName(), "t1_redditObjId21");
            assertEquals(comment2.getReplies().get(1).getFullName(), "t1_redditObjId22");
           
        }
    View Full Code Here

    Examples of com.github.sommeri.less4j.core.ast.Comment

      }
     
      private List<Comment> convertToComments(List<CommonToken> preceding, LessSource source) {
        List<Comment> result = new ArrayList<Comment>();

        Comment comment = null;
        for (CommonToken token : preceding) {
          if (token.getType() == LessLexer.COMMENT) {
            comment = new Comment(new HiddenTokenAwareTree(token, source));
            result.add(comment);
          }
          if (token.getType() == LessLexer.NEW_LINE) {
            if (comment != null)
              comment.setHasNewLine(true);
          }
        }

        return result;
      }
    View Full Code Here

    Examples of com.google.api.services.drive.model.Comment

            com.google.api.services.drive.model.CommentList result1 = requestBody("direct://LIST", fileId);

            assertNotNull(result1.get("items"));
            LOG.debug("list: " + result1);
           
            Comment comment2 = result1.getItems().get(0);
           
            // 4. now try and get that comment
            headers = new HashMap<String, Object>();
            // parameter type is String
            headers.put("CamelGoogleDrive.fileId", fileId);
            // parameter type is String
            headers.put("CamelGoogleDrive.commentId", comment2.getCommentId());

            final com.google.api.services.drive.model.Comment result3 = requestBodyAndHeaders("direct://GET", null, headers);

            assertNotNull("get result", result3);
           
            // 5. delete the comment
           
            headers = new HashMap<String, Object>();
            // parameter type is String
            headers.put("CamelGoogleDrive.fileId", fileId);
            // parameter type is String
            headers.put("CamelGoogleDrive.commentId", comment2.getCommentId());

            requestBodyAndHeaders("direct://DELETE", null, headers);

            // 6. ensure the comment is gone
           
            headers = new HashMap<String, Object>();
            // parameter type is String
            headers.put("CamelGoogleDrive.fileId", fileId);
            // parameter type is String
            headers.put("CamelGoogleDrive.commentId", comment2.getCommentId());

            try {
                final com.google.api.services.drive.model.Comment result4 = requestBodyAndHeaders("direct://GET", null, headers);
                assertTrue("Should have thrown an exception.", false);
            } catch (Exception e) {
    View Full Code Here

    Examples of com.google.dart.engine.ast.Comment

        }
        NodeLocator locator = new NodeLocator(element.getNameOffset());
        AstNode nameNode = locator.searchWithin(unit);
        while (nameNode != null) {
          if (nameNode instanceof AnnotatedNode) {
            Comment comment = ((AnnotatedNode) nameNode).getDocumentationComment();
            if (comment == null) {
              return null;
            }
            StringBuilder builder = new StringBuilder();
            Token[] tokens = comment.getTokens();
            for (int i = 0; i < tokens.length; i++) {
              if (i > 0) {
                builder.append("\n");
              }
              builder.append(tokens[i].getLexeme());
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.