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 org.apache.poi.ss.usermodel.Comment

                }

              }

              // Output the comment in the same cell as the content
              Comment comment = cell.getCellComment();
              if (comment != null) {
                buffy.append(comment.getString().getString()).append(' ');
              }
            }
          }

          // Finally footer(s), if present
    View Full Code Here

    Examples of org.apache.wicket.examples.guestbook.Comment

          new PropertyModel<List<Comment>>(this, "commentList"))
        {
          @Override
          public void populateItem(final ListItem<Comment> listItem)
          {
            final Comment comment = listItem.getModelObject();
            listItem.add(new Label("date", new Model<Date>(comment.getDate())));
            listItem.add(new MultiLineLabel("text", comment.getText()));
          }
        });

        // we need to cancel the standard submit of the form in the onsubmit
        // handler,
    View Full Code Here

    Examples of org.apache.wink.itest.exceptionmappers.mapped.Comment

            GetMethod getMethod = new GetMethod(newPostURILocation);
            client.executeMethod(getMethod);
            assertEquals(200, getMethod.getStatusCode());

            Comment c =
                (Comment)JAXBContext.newInstance(Comment.class.getPackage().getName())
                    .createUnmarshaller().unmarshal(getMethod.getResponseBodyAsStream());
            assertEquals("Anonymous", c.getAuthor());
            assertEquals(1, c.getId().intValue());
            assertEquals("Hello World!", c.getMessage());
        }
    View Full Code Here

    Examples of org.apache.wink.itest.exceptionmappers.nomapper.Comment

            GetMethod getMethod = new GetMethod(newPostURILocation);
            client.executeMethod(getMethod);
            assertEquals(200, getMethod.getStatusCode());

            Comment c =
                (Comment)JAXBContext.newInstance(Comment.class.getPackage().getName())
                    .createUnmarshaller().unmarshal(getMethod.getResponseBodyAsStream());
            assertEquals("Anonymous", c.getAuthor());
            assertEquals(1, c.getId().intValue());
            assertEquals("Hello World!", c.getMessage());
        }
    View Full Code Here

    Examples of org.apache.wink.itest.subresource.Comment

            GetMethod getMethod = new GetMethod(postURILocation);
            try {
                client.executeMethod(getMethod);
                assertEquals(200, getMethod.getStatusCode());

                Comment c =
                    (Comment)JAXBContext.newInstance(Comment.class.getPackage().getName())
                        .createUnmarshaller().unmarshal(getMethod.getResponseBodyAsStream());
                assertEquals("Anonymous", c.getAuthor());
                assertEquals(10000, c.getId().intValue());
                assertEquals("Hi there", c.getMessage());
            } finally {
                getMethod.releaseConnection();
            }
        }
    View Full Code Here

    Examples of org.apache.xmlbeans.impl.store.Splay.Comment

        {
            synchronized ( monitor() )
            {
                checkDisposed();
       
                insert( new Comment(), value );
            }
        }
    View Full Code Here

    Examples of org.apache.xmlbeans.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 org.camunda.bpm.engine.task.Comment

      }

      public CommentDto getComment(String commentId) {
        ensureHistoryEnabled(Status.NOT_FOUND);

        Comment comment = engine.getTaskService().getTaskComment(taskId, commentId);
        if (comment == null) {
          throw new InvalidRequestException(Status.NOT_FOUND, "Task comment with id " + commentId + " does not exist for task id '" + taskId + "'.");
        }

        return CommentDto.fromComment(comment);
    View Full Code Here

    Examples of org.codehaus.swizzle.confluence.Comment

            // no id in pageProperties means storePage will add
            Page resultPage = rpc.storePage(p);
            pageId = resultPage.getId();

            // add and remove one comment (makes test more realistic)
            Comment comment = new Comment();
            comment.setPageId(pageId);
            comment.setContent("Dummy Comment");
            Comment commentResult = rpc.addComment(comment);
            rpc.removeComment(commentResult.getId());
        }
    View Full Code Here

    Examples of org.damour.base.client.objects.Comment

        file.setName("comment file");
        file.setOwner(user);
        session.save(file);

        for (int i = 0; i < 100; i++) {
          Comment comment = new Comment();
          comment.setComment("comment " + i);
          comment.setOwner(file.getOwner());
          comment.setAuthor(user);
          comment.setParent(file);
          session.save(comment);
        }
        tx.commit();
        session.close();

        for (int testCount = 0; testCount < 10; testCount++) {
          session = HibernateUtil.getInstance().getSession();
          GenericPage<Comment> pageController = new GenericPage<Comment>(session, Comment.class, null, 0, 10);
          long pageCount = pageController.getPageCount();
          for (int pageNumber = 0; pageNumber < pageCount; pageNumber++) {
            List<Comment> comments = pageController.getList();
            for (Comment comment : comments) {
              System.out.print(comment.getComment());
            }
            System.out.println();
            pageController = pageController.next();
          }
          session.close();
    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.