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 springblog.pojo.Comment

      private CommentManager commentManager = null;
     
     
      @RequestMapping(value = {"/comment/{commentID}/delete"})
      public String deleteComment(@PathVariable int commentID, Model model) {
        Comment comment = commentManager.getCommentByID(commentID);
        if (null == comment) {
          model.addAttribute("message", "No such comment.");
          return "message";
        }
        commentManager.delete(comment);
        return "redirect:/article/" + comment.getArticleID();
      }
    View Full Code Here

    Examples of systole.domain.report.template.Comment

            formToLoad.getjChkMale().setSelected(commentToLoad.isMale());
        }

        @Override
        protected void loadEntityFromForm() {
            Comment commentToLoad = (Comment) this.curretnEntity;
            JDialogComment formToLoad = (JDialogComment) this.editForm;

            commentToLoad.setName(formToLoad.getjEdtName().getText());
            commentToLoad.setText(formToLoad.getjEdtComment().getText());
            commentToLoad.setFemale(formToLoad.getjChkFemale().isSelected());
            commentToLoad.setMale(formToLoad.getjChkMale().isSelected());

        }
    View Full Code Here

    Examples of tk.vovanok.data.Comment

        public void init(){
            allComments = new ArrayList<>();
        }
       
        public void addComment(){
            Comment c = new Comment();
            c.setText(getText());
            c.setDate(new Date());
            c.setName(loginBean.getLogin());
           
            System.out.println("TEXT: "+text);
           
            getAllComments().add(c);
        }
    View Full Code Here

    Examples of urban.model.Comment

        try {
          return new UrbanParser(new FileReader(new File(baseDir,filename))).model();
        } catch (Exception e) {
          e.printStackTrace();
          Model m = new Model();
          m.addStatement(new Comment("Unable to import the file:"+filename+" due to "+e.toString()));
          return m;
        }
      }
    View Full Code Here

    Examples of wblog.domain.Comment

                    new ResultSetHandler<List<Comment>>() {
                        @Override
                        public List<Comment> handle(ResultSet rs) throws SQLException {
                            List<Comment> list = new ArrayList<Comment>();
                            while (rs.next()) {
                                Comment comment = new Comment();
                                comment.id = rs.getLong("Comment.id");
                                comment.content = rs.getString("content");
                                comment.postDate = rs.getTimestamp("postDate");
                                comment.author = new User();
                                comment.author.id = rs.getString("User.id");
    View Full Code Here

    Examples of weblogic.xml.stream.Comment

            StartPrefixMapping startPrefixMapping;
            EndPrefixMapping endPrefixMapping;
            ChangePrefixMapping cpm;
            EndElement endElement;
            Attribute attribute;
            Comment comment;
            CharacterData characterData;
            XMLName name;
            String str;
            Map map;
           
            xev = startDocument = (StartDocument) xis.next();
            Assert.assertTrue( xev.getType() == XMLEvent.START_DOCUMENT );
            Assert.assertTrue( !xev.hasName() );
            Assert.assertTrue( startDocument.isStartDocument() );
           
            xev = startPrefixMapping = (StartPrefixMapping) xis.next();
            Assert.assertTrue( xev.getType() == XMLEvent.START_PREFIX_MAPPING );
            Assert.assertTrue( !xev.hasName() );
            Assert.assertTrue( xev.isStartPrefixMapping() );
            str = startPrefixMapping.getNamespaceUri();
            Assert.assertTrue( str.equals( "default.com" ) );
            Assert.assertTrue( startPrefixMapping.getPrefix().length() == 0 );
           
            xev = startElement = (StartElement) xis.next();
            Assert.assertTrue( xev.getType() == XMLEvent.START_ELEMENT );
            Assert.assertTrue( xev.hasName() );
            Assert.assertTrue( xev.isStartElement() );
            assertName( startElement.getName(), "default.com", "foo", null );
            attributeIterator = startElement.getAttributes();
            attribute = attributeIterator.next();
            assertName( attribute.getName(), null, "x", null );
            Assert.assertTrue( attribute.getValue().equals( "y" ) );
            Assert.assertTrue( attributeIterator.next() == null );
            attributeIterator = startElement.getNamespaces();
            attribute = attributeIterator.next();
            assertName( attribute.getName(), null, "xmlns", null );
            Assert.assertTrue( attribute.getValue().equals( "default.com" ) );
            Assert.assertTrue( attributeIterator.next() == null );
            attributeIterator = startElement.getAttributesAndNamespaces();
            Assert.assertTrue( attributeIterator.next() != null );
            Assert.assertTrue( attributeIterator.next() != null );
            Assert.assertTrue( attributeIterator.next() == null );
            name = new XmlNameImpl( null, "x", null );
            attribute = startElement.getAttributeByName( name );
            Assert.assertTrue( attribute != null );
            Assert.assertTrue( attribute.getValue().equals( "y" ) );
            name = new XmlNameImpl( null, "xmlns", null );
            attribute = startElement.getAttributeByName( name );
            Assert.assertTrue( attribute == null );
            str = startElement.getNamespaceUri( null );
            Assert.assertTrue( str.equals( "default.com" ) );

            xev = startPrefixMapping = (StartPrefixMapping) xis.next();
            Assert.assertTrue( xev.getType() == XMLEvent.START_PREFIX_MAPPING );
            Assert.assertTrue( !xev.hasName() );
            Assert.assertTrue( xev.isStartPrefixMapping() );
            str = startPrefixMapping.getNamespaceUri();
            Assert.assertTrue( str.equals( "bar.com" ) );
            Assert.assertTrue( startPrefixMapping.getPrefix().equals( "bar" ) );
           
            xev = startElement = (StartElement) xis.next();
            Assert.assertTrue( xev.getType() == XMLEvent.START_ELEMENT );
            Assert.assertTrue( xev.hasName() );
            Assert.assertTrue( xev.isStartElement() );
            assertName( startElement.getName(), "bar.com", "bar", "bar" );
            attributeIterator = startElement.getAttributes();
            Assert.assertTrue( attributeIterator.next() == null );
            attributeIterator = startElement.getNamespaces();
            attribute = attributeIterator.next();
            assertName( attribute.getName(), null, "bar", "xmlns" );
            Assert.assertTrue( attribute.getValue().equals( "bar.com" ) );
            Assert.assertTrue( attributeIterator.next() == null );
            attributeIterator = startElement.getAttributesAndNamespaces();
            Assert.assertTrue( attributeIterator.next() != null );
            Assert.assertTrue( attributeIterator.next() == null );
            str = startElement.getNamespaceUri( "bar" );
            Assert.assertTrue( str.equals( "bar.com" ) );
            map = startElement.getNamespaceMap();
            Assert.assertTrue( map.get( "bar" ).equals( "bar.com" ) );
           
            xev = endElement = (EndElement) xis.next();
            Assert.assertTrue( xev.getType() == XMLEvent.END_ELEMENT );
            Assert.assertTrue( xev.hasName() );
            Assert.assertTrue( xev.isEndElement() );
            assertName( endElement.getName(), "bar.com", "bar", "bar" );

            xev = endPrefixMapping = (EndPrefixMapping) xis.next();
            Assert.assertTrue( xev.getType() == XMLEvent.END_PREFIX_MAPPING );
            Assert.assertTrue( !xev.hasName() );
            Assert.assertTrue( xev.isEndPrefixMapping() );
            Assert.assertTrue( endPrefixMapping.getPrefix().equals( "bar" ) );

            xev = comment = (Comment) xis.next();
            Assert.assertTrue( xev.getType() == XMLEvent.COMMENT );
            Assert.assertTrue( !xev.hasName() );
            Assert.assertTrue( comment.hasContent() );
            Assert.assertTrue( comment.getContent().equals( " x " ) );
           
            xev = characterData = (CharacterData) xis.next();
            Assert.assertTrue( xev.getType() == XMLEvent.CHARACTER_DATA );
            Assert.assertTrue( !xev.hasName() );
            Assert.assertTrue( xev.isCharacterData() );
    View Full Code Here

    Examples of weibo4j.Comment

        } catch (InterruptedException e) {
          e.printStackTrace();
        }
            // add a comment for the status
            long sid = status.getId();
            Comment cmt = weibo.updateComment("评论1 " + new java.util.Date(),  String.valueOf(sid), null);
           
            weibo.getComments(String.valueOf(sid));
           
            weibo.updateComment("评论2 " + new java.util.Date(),  String.valueOf(sid), null);

        try {
          Thread.sleep(1000); // avoid flush server
        } catch (InterruptedException e) {
          e.printStackTrace();
        }
        Comment cmt2 = weibo.destroyComment(cmt.getId());
        System.out.println("delete " + cmt2);
        }
    View Full Code Here

    Examples of weibo4j.model.Comment

       *      href="http://open.weibo.com/wiki/2/comments/create">comments/create</a>
       * @since JDK 1.5
       */
      public Comment createComment(String comment, String id)
          throws WeiboException {
        return new Comment(Weibo.client.post(WeiboConfig.getValue("baseURL")
            + "comments/create.json", new PostParameter[] {
            new PostParameter("comment", comment),
            new PostParameter("id", id) }));
      }
    View Full Code Here

    Examples of xtc.tree.Comment

       * @param m The module.
       */
      protected void printDocumentation(Module m) {
        if ((! verbose) || (null == m.documentation)) return;

        Comment c    = m.documentation;
        int     size = c.text.size();

        if (0 == size) {
          // Nothing to print.

    View Full Code Here

    Examples of zendeskapi.models.tickets.Comment

      }
     
      @Test
      public void testCreateUpdateAndDeleteRequest() throws Exception {
        Request request = new Request();
        Comment comment = new Comment();
        comment.setBody("Test comment 1");
        request.setSubject("Test request 1");
        request.setComment(comment);
        IndividualRequestResponse irr = API.getRequests().createRequest(request);
        Assert.assertTrue(irr.getRequest().getId() > 0);
       
        IndividualRequestResponse irrById = API.getRequests().getRequestById(irr.getRequest().getId());
        Assert.assertEquals(irrById.getRequest().getId(), irr.getRequest().getId());
       
        irrById.getRequest().setSubject("New Subject");
        Comment newComment = new Comment();
        newComment.setBody("something more to say");
        irrById.getRequest().setComment(newComment);
       
        API.getRequests().updateRequest(irrById.getRequest());
        GroupCommentResponse gcr = API.getRequests().getRequestCommentsById(irr.getRequest().getId());
        Assert.assertEquals(gcr.getComments().get(gcr.getComments().size()-1).getBody().replace("\n", ""), "something more to say");
    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.