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 net.sourceforge.pebble.domain.Comment

       */
      public void testNoFollowAddedToComments() throws Exception {
        ContentDecoratorContext context = new ContentDecoratorContext();
        context.setView(ContentDecoratorContext.DETAIL_VIEW);

        Comment comment1 = blogEntry.createComment("title1", "body1", "author", "email", "website", "avatar", "127.0.0.1");
        blogEntry.addComment(comment1);
        Comment comment2 = blogEntry.createComment("title2", "body2", "author", "email", "website", "avatar", "127.0.0.1");
        blogEntry.addComment(comment2);

        comment1.setBody("<p>Here is some body.</p>");
        comment2.setBody("<p>Here is some body again.</p>");
        decorator.decorate(context, comment1);
        decorator.decorate(context, comment2);
        assertEquals("<p>Here is some body.</p>", comment1.getBody());
        assertEquals("<p>Here is some body again.</p>", comment2.getBody());

        comment1.setBody("<p>Here is a <a href=\"http://www.google.com\">a link</a>.</p>");
        comment2.setBody("<p>Here is a <a href=http://www.google.com>a link</a> again.</p>");
        decorator.decorate(context, comment1);
        decorator.decorate(context, comment2);
        assertEquals("<p>Here is a <a href=\"http://www.google.com\" rel=\"nofollow\">a link</a>.</p>", comment1.getBody());
        assertEquals("<p>Here is a <a href=http://www.google.com rel=\"nofollow\">a link</a> again.</p>", comment2.getBody());

        comment1.setBody("<p>Here is a <a href=\"ftp://www.google.com\">a link</a>.</p>");
        comment2.setBody("<p>Here is a <a href=\"mailto://www.google.com\">a link</a> again.</p>");
        decorator.decorate(context, comment1);
        decorator.decorate(context, comment2);
        assertEquals("<p>Here is a <a href=\"ftp://www.google.com\" rel=\"nofollow\">a link</a>.</p>", comment1.getBody());
        assertEquals("<p>Here is a <a href=\"mailto://www.google.com\" rel=\"nofollow\">a link</a> again.</p>", comment2.getBody());

        comment1.setBody("<p>Here is a <a href=\"http://www.google.com\">a link</a> and <a href=\"http://www.yahoo.com\">another</a>.</p>");
        comment2.setBody("<p>Here is some body again.</p>");
        decorator.decorate(context, comment1);
        decorator.decorate(context, comment2);
        assertEquals("<p>Here is a <a href=\"http://www.google.com\" rel=\"nofollow\">a link</a> and <a href=\"http://www.yahoo.com\" rel=\"nofollow\">another</a>.</p>", comment1.getBody());
        assertEquals("<p>Here is some body again.</p>", comment2.getBody());

        // test that we don't add an extra nofollow if one is present already
        comment1.setBody("<p>Here is a <a href=\"http://www.google.com\">a link</a> and <a href=\"http://www.yahoo.com\" rel=\"nofollow\">another</a>.</p>");
        decorator.decorate(context, comment1);
        decorator.decorate(context, comment2);
    View Full Code Here

    Examples of net.zion54.webissuetracker.model.Comment

                user.setUserID(comment1.getCreatedByID());
                user = issueService.selectUserByID(user);
                comment1.setCreator(user.getUsername());
            }
            model.addAttribute("comments", comments);
            model.addAttribute("comment", new Comment());
            return "viewissue";
        }
    View Full Code Here

    Examples of noop.model.Comment

        intClazz = new Clazz("Integer");
        lang.addClazz(intClazz);

        integerPlus = new Method("+");
        intClazz.addBlock(integerPlus);
        intClazz.addComment(new Comment("Elements may have symbols in their names." +
            " Tools may choose to render this as infix",
            System.getProperty("user.name"), new Instant()));

        integerEquals = new Method("==");
        intClazz.addBlock(integerEquals);
    View Full Code Here

    Examples of nu.validator.saxtree.Comment

            super();
        }
       
        @Override
        protected void appendComment(Element parent, char[] buf, int start, int length) {
            parent.appendChild(new Comment(tokenizer, buf, start, length));
        }
    View Full Code Here

    Examples of nu.xom.Comment

            return new NodeFactory().startMakingDocument();
          case XMLStreamConstants.PROCESSING_INSTRUCTION:
            return new ProcessingInstruction(
                reader.getPITarget(), reader.getPIData());
          case XMLStreamConstants.COMMENT:
            return new Comment(reader.getText());
          case XMLStreamConstants.SPACE:
          case XMLStreamConstants.CDATA:
          case XMLStreamConstants.ENTITY_REFERENCE:
          case XMLStreamConstants.CHARACTERS:
            return readText();
    View Full Code Here

    Examples of org.activiti.engine.task.Comment

        try {
          pi = runtimeService.startProcessInstanceByKey("oneTaskProcess");

          // Add a comment as "kermit"
          identityService.setAuthenticatedUserId("kermit");
          Comment comment = taskService.addComment(null, pi.getId(), "This is a comment...");
          identityService.setAuthenticatedUserId(null);
         
          CloseableHttpResponse response = executeRequest(new HttpGet(SERVER_URL_PREFIX + RestUrls.createRelativeResourceUrl(
              RestUrls.URL_HISTORIC_PROCESS_INSTANCE_COMMENT_COLLECTION, pi.getId())), HttpStatus.SC_OK);
         
          assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode());
         
          JsonNode responseNode = objectMapper.readTree(response.getEntity().getContent());
          closeResponse(response);
          assertNotNull(responseNode);
          assertTrue(responseNode.isArray());
          assertEquals(1, responseNode.size());
         
          ObjectNode commentNode = (ObjectNode) responseNode.get(0);
          assertEquals("kermit", commentNode.get("author").textValue());
          assertEquals("This is a comment...", commentNode.get("message").textValue());
          assertEquals(comment.getId(), commentNode.get("id").textValue());
          assertTrue(commentNode.get("processInstanceUrl").textValue().endsWith(RestUrls.createRelativeResourceUrl(RestUrls.URL_HISTORIC_PROCESS_INSTANCE_COMMENT, pi.getId(), comment.getId())));
          assertEquals(pi.getProcessInstanceId(), commentNode.get("processInstanceId").asText());
          assertTrue(commentNode.get("taskUrl").isNull());
          assertTrue(commentNode.get("taskId").isNull());
         
          // Test with unexisting task
    View Full Code Here

    Examples of org.apache.abdera.model.Comment

            List<?> children = xpath.selectNodes("node()", element);
            for (Object child : children) {
                if (child instanceof Element) {
                    process(child, new ObjectContext(child), context, conventions);
                } else if (child instanceof Comment) {
                    Comment comment = (Comment)child;
                    sw.writeComment(comment.getText());
                } else if (child instanceof ProcessingInstruction) {
                    ProcessingInstruction pi = (ProcessingInstruction)child;
                    sw.writePI(pi.getText(), pi.getTarget());
                } else if (child instanceof TextValue) {
                    TextValue tv = (TextValue)child;
    View Full Code Here

    Examples of org.apache.ecs.html.Comment

                minuteSelect.setOnChange(onChange);
                ampmSelect.setOnChange(onChange);
            }

            ElementContainer ec = new ElementContainer();
            ec.addElement(new Comment(
                    "== BEGIN org.apache.turbine.util.TimeSelector.ecsOutput() =="));
            ec.addElement(hourSelect);
            ec.addElement(":");
            ec.addElement(minuteSelect);
            if (this.showSeconds == true)
                ec.addElement(":");
            ec.addElement(secondSelect);
            if (this.timeFormat == TimeSelector.TWELVE_HOUR)
            {
                ec.addElement(ampmSelect);
            }
            ec.addElement(new Comment(
                    "== END org.apache.turbine.util.TimeSelector.ecsOutput() =="));
            return (ec);
        }
    View Full Code Here

    Examples of org.apache.garbage.tree.Comment

        default:
          jj_la1[11] = jj_gen;
          ;
        }
        jj_consume_token(T_COMMENT_END);
        events.append(new Comment(this, data));
      }
    View Full Code Here

    Examples of org.apache.ibatis.domain.blog.Comment

          assertEquals(2, comments.size());

          final List<Tag> tags = post.getTags();
          assertEquals(3, tags.size());

          final Comment comment = comments.get(0);
          assertEquals(1, comment.getId());

          assertEquals(DraftPost.class, blog.getPosts().get(0).getClass());
          assertEquals(Post.class, blog.getPosts().get(1).getClass());

        } finally {
    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.