Examples of Content

Per RFC4287:

 The "atom:content" element either contains or links to the content of the entry.  The content of atom:content is Language-Sensitive. atomInlineTextContent = element atom:content { atomCommonAttributes, attribute type { "text" | "html" }?, (text) } atomInlineXHTMLContent = element atom:content { atomCommonAttributes, attribute type { "xhtml" }, xhtmlDiv } atomInlineOtherContent = element atom:content { atomCommonAttributes, attribute type { atomMediaType }?, (text|anyElement) } atomOutOfLineContent = element atom:content { atomCommonAttributes, attribute type { atomMediaType }?, attribute src { atomUri }, empty } atomContent = atomInlineTextContent | atomInlineXHTMLContent | atomInlineOtherContent | atomOutOfLineContent 
  • org.apache.aries.application.Content
    A representation of content metadata such as Application-Content, Import-Package, etc
  • org.apache.chemistry.opencmis.inmemory.storedobj.api.Content
  • org.apache.felix.framework.cache.Content
  • org.apache.http.client.fluent.Content
  • org.apache.isis.viewer.dnd.Content
  • org.apache.isis.viewer.dnd.view.Content
  • org.apache.james.mailbox.Content
    IMAP needs to know the size of the content before it starts to write it out. This interface allows direct writing whilst exposing total size.
  • org.apache.james.mailbox.model.Content
    IMAP needs to know the size of the content before it starts to write it out. This interface allows direct writing whilst exposing total size.
  • org.apache.jetspeed.xml.api.jcm.Content
    @version $Revision$ $Date$
  • org.apache.marmotta.client.model.content.Content
    Representation of media content returned by the Apache Marmotta. Provides an InputStream for reading the media data. Optionally, supports reading all content into a byte array.

    Author: Sebastian Schaffert

  • org.apache.nutch.protocol.Content
  • org.apache.servicemix.bean.Content
  • org.apache.slide.content.Content
    Content. @author Remy Maucherat @version $Revision: 1.12.2.2 $
  • org.apache.struts.taglib.template.util.Content
    A utility file for templates.

    This represents template content, which is included by templates. Templates can also treat content as plain text and print it to the implicit out variable. This simple class maintain two properties:

    @author David Geary @revision $Revision: 1.2 $
  • org.candlepin.json.model.Content
    Content
  • org.candlepin.model.Content
    ProductContent
  • org.drools.guvnor.server.jaxrs.providers.atom.Content

    Represents an atom:content element.

    Per RFC4287:

     The "atom:content" element either contains or links to the content of the entry.  The content of atom:content is Language-Sensitive. 

    atomInlineTextContent = element atom:content { atomCommonAttributes, attribute type { "text" | "html" }?, (text) }

    atomInlineXHTMLContent = element atom:content { atomCommonAttributes, attribute type { "xhtml" }, xhtmlDiv } atomInlineOtherContent = element atom:content { atomCommonAttributes, attribute type { atomMediaType }?, (text|anyElement) }

    atomOutOfLineContent = element atom:content { atomCommonAttributes, attribute type { atomMediaType }?, attribute src { atomUri }, empty }

    atomContent = atomInlineTextContent | atomInlineXHTMLContent | atomInlineOtherContent | atomOutOfLineContent

    TODO remove this file when JBoss AS includes RESTEasy 2.3.4.Final or higher
  • org.evolizer.model.resources.entities.misc.Content
    Wrapper for e.g., source code. This is needed because Hibernate cannot load primitive data types and Strings lazily. @author wuersch
  • org.gatein.portal.controller.resource.script.Module.Local.Content
  • org.gradle.example.content.Content
  • org.infoglue.cms.entities.content.Content
  • org.intabulas.sandler.elements.Content
  • org.jboss.demo.web.events.Content
  • org.jboss.resteasy.plugins.providers.atom.Content

    Represents an atom:content element.

    Per RFC4287:

     The "atom:content" element either contains or links to the content of the entry.  The content of atom:content is Language-Sensitive. 

    atomInlineTextContent = element atom:content { atomCommonAttributes, attribute type { "text" | "html" }?, (text) }

    atomInlineXHTMLContent = element atom:content { atomCommonAttributes, attribute type { "xhtml" }, xhtmlDiv } atomInlineOtherContent = element atom:content { atomCommonAttributes, attribute type { atomMediaType }?, (text|anyElement) }

    atomOutOfLineContent = element atom:content { atomCommonAttributes, attribute type { atomMediaType }?, attribute src { atomUri }, empty }

    atomContent = atomInlineTextContent | atomInlineXHTMLContent | atomInlineOtherContent | atomOutOfLineContent

    @author Bill Burke @version $Revision: 1 $
  • org.jboss.xb.binding.Content
    An instance of this class represents XML content. It is populated on unmarshalling with org.jboss.xb.binding.ContentPopulator and used to implement content navigation in object model factories. And on marshalling, first, an instance of this class is created and then it is serialized into XML content with org.jboss.xb.binding.ContentWriter. @version $Revision: 1455 $ @author Alexey Loubyansky
  • org.jbpm.task.Content
  • org.jdom.Content
    Superclass for JDOM objects which can be legal child content of {@link org.jdom.Parent} nodes. @see org.jdom.Comment @see org.jdom.DocType @see org.jdom.Element @see org.jdom.EntityRef @see org.jdom.Parent @see org.jdom.ProcessingInstruction @see org.jdom.Text @author Bradley S. Huffman @author Jason Hunter @version $Revision: 1.5 $, $Date: 2004/09/07 06:37:20 $
  • org.jdom2.Content
    An Sendable interface extension that adds additional methods for additional information, such as Files or Strings. @author Mark Reinhold @author Brad R. Wetmore @version 1.3, 05/11/17
  • org.mortbay.jetty.ResourceCache.Content
  • org.noos.xing.mydoggy.Content
    A content is a wrapper of a component decorated with some properties like a title, an icon, etc. The visualization of a content depends on specific platform implementation. A platform implementation can use a JTabbedPane or a JDesktopPane for example. A PropertyChangeEvent is fired for the following properties: @author Angelo De Caro (angelo.decaro@gmail.com) @since 1.0.0
  • org.purl.sword.atom.Content
    Represents an ATOM Content element. @author Neil Taylor
  • org.restlet.ext.atom.Content
    Either contains or links to the content of the entry. @author Jerome Louvel
  • org.rssowl.contrib.podcast.content.Content
    A Content type implementation. The content is defined by it's MIME type and the extension of the file. Many content types are de-facto others registered at IANA.
  • org.sleuthkit.datamodel.Content
    Interface for all datatypes that can be found in the database. Content objects make up a tree and each object can have a parent and children. For example, the child of an Image object is a Volume or File System. This interface defines the basic methods for reading the content associated with this object, the parent and children, and adding artifacts.
  • org.sonatype.nexus.client.core.subsystem.content.Content
    @since 2.1
  • org.sonatype.nexus.plugins.p2.repository.metadata.Content
  • org.springframework.extensions.surf.util.Content
  • play.mvc.Content
  • play.twirl.api.Content
  • tutorial.storm.trident.testutil.Content
    @author Enno Shioji (enno.shioji@peerindex.com)
  • v7db.files.spi.Content
  • vn.pyco.tinycms.model.Content

  • Examples of com.volantis.mcs.xml.schema.model.Content

                StringBuffer buffer = new StringBuffer();
                if (satisfiable) {
                    buffer.append("(");
                }
                for (Iterator i = nextExpectedContent.iterator(); i.hasNext();) {
                    Content content = (Content) i.next();
                    buffer.append(content);
                    if (i.hasNext()) {
                        buffer.append("|");
                    }
                }
    View Full Code Here

    Examples of com.volantis.xml.pipeline.sax.drivers.web.Content

            addAttribute("action", actionAsString);
            addAttribute("type", contentType);
            Map map = (Map) rule.startElement(dynamicProcessMock, elementName,
                            attributes);
            rule.endElement(dynamicProcessMock, elementName, map);
            Content content = new Content(contentType, contentAction);
            assertEquals(Collections.singletonMap(contentType, content), map);
        }
    View Full Code Here

    Examples of de.sebastianbenz.task.Content

        int index = allContents.indexOf(this);
        if(index == 0){
          return taskModel;
        }
        for (int i = index - 1; i >= 0; i--) {
          Content candidate = allContents.get(i);
          if (!(candidate instanceof EmptyLine) && candidate.getLevel() < getLevel()) {
            return (Container) candidate;
          }
        }
        return taskModel;
      }
    View Full Code Here

    Examples of gov.nist.javax.sip.message.Content

            MultipartMimeContent mmc = messageFactory.createMultipartMimeContent(cth, type, subtype, content);
            Iterator<Content> contentIterator = mmc.getContents();
           
            int i  = 0;
            while (contentIterator.hasNext() ) {
                Content contentImpl = contentIterator.next();
                assertEquals("Content must match",contentImpl.getContent(), content[i]);
                assertEquals("Content Type match", contentImpl.getContentTypeHeader().getContentType(),type[i]);
                assertEquals("Content subtype match",contentImpl.getContentTypeHeader().getContentSubType(),subtype[i]);
                i++;
            }
           
            String mmcContentString = mmc.toString();
            sipMessage.setContent(mmcContentString, cth);
            MultipartMimeContent mmc1 = sipMessage.getMultipartMimeContent();
            contentIterator = mmc1.getContents();
           
            i  = 0;
            while (contentIterator.hasNext() ) {
                Content contentImpl = contentIterator.next();
                assertEquals("Content must match",contentImpl.getContent(), content[i]);
                assertEquals("Content Type match", contentImpl.getContentTypeHeader().getContentType(),type[i]);
                assertEquals("Content subtype match",contentImpl.getContentTypeHeader().getContentSubType(),subtype[i]);
                i++;
            }
           
            MessageExt message1 = (MessageExt) messageFactory.createRequest(messageSting1);
            ContentTypeHeader cth1 = (ContentTypeHeader)((HeaderFactoryExt)headerFactory).createHeader(contentType1);
            message1.setContent(contentString1, cth1);
           
            System.out.println("SIP Message after adding content " + message1);
           
            MultipartMimeContent mmc2 = message1.getMultipartMimeContent();
           
            Iterator<Content> contents = mmc2.getContents();
            while ( contents.hasNext() ) {
                Content content = contents.next();
                System.out.println("contentTypeHeader = "  + content.getContentTypeHeader());
                System.out.println("content = " + content.getContent());
               
            }
           
            Request request2 = messageFactory.createRequest(message1.toString());
           
            MultipartMimeContent mmc3 = ((MessageExt)request2).getMultipartMimeContent();
           
            Iterator<Content> contents2 = mmc3.getContents();
           
            contents = mmc2.getContents();
            assertTrue("number of fragments dont match", mmc2.getContentCount() == mmc3.getContentCount());
            while (contents2.hasNext()){
                Content c1 = contents.next();
                Content c2 = contents2.next();
                assertTrue("contents must match",c1.getContent().equals(c2.getContent()));
               
            }
           
            System.out.println("After " + request2);
           
    View Full Code Here

    Examples of info.magnolia.cms.core.Content

        {
        }

        public Object getValue(String name, Object obj)
        {
            Content job = (Content) obj;

            if (name.equals("title"))
            {
                return StringUtils.isNotBlank(job.getName()) ? job.getName() : "no name given";
            }
            else if (name.toLowerCase().endsWith("time"))
            {
                Long timeInMillis = NodeDataUtil.getLong(job, name, 0);
                if (timeInMillis == 0)
    View Full Code Here

    Examples of it.eng.spagobi.services.content.bo.Content

              if(isSpagoBIDev != null){
                jpaloUrl += ",isdeveloper=\""+isSpagoBIDev+"\"";
              }         
             
          }else{
            Content templateContent = contentProxy.readTemplate(documentId,new HashMap());
     
            byte[] byteContent = null;
            try {
              BASE64Decoder bASE64Decoder = new BASE64Decoder();
              byteContent = bASE64Decoder.decodeBuffer(templateContent.getContent());
              String xmlSourceBean = new String(byteContent);
              SourceBean sb =SourceBean.fromXMLString(xmlSourceBean);
              template = new JPaloEngineTemplate(sb);   
             
              if(template == null){
    View Full Code Here

    Examples of javax.swing.text.AbstractDocument.Content

        /*
         * Class under test for void PlainDocument()
         */
        public void testPlainDocument() {
            doc = new PlainDocument();
            Content content = doc.getContent();
            assertTrue(content instanceof GapContent);
            GapContent gapContent = (GapContent) content;
            assertEquals(9, gapContent.getGapEnd() - gapContent.getGapStart());
            Object tabSize = doc.getProperty(PlainDocument.tabSizeAttribute);
            assertEquals(8, ((Integer) tabSize).intValue());
    View Full Code Here

    Examples of jease.cms.domain.Content

      public Control() {
        setWidth("300px");

        type.setItemRenderer(new ItemRenderer() {
          public String render(Object value) {
            Content content = (Content) value;
            if (value != null) {
              return I18N.get(content.getType()) + " ("
                  + Revisions.getNumber(content.getClass()) + ")";
            } else {
              return "* (" + Revisions.getNumber(Content.class) + ")";
            }
          }
        });
    View Full Code Here

    Examples of jfix.jsp.tag.Content

      public List<Tag> getTags() {
        return tags;
      }

      private void parse() throws JspParserException {
        currentTag = new Content();

        // scan until at end of data
        for (int start = 0; currentSourcePosition < source.length();) {
          int nextOpenTagPosition = source.indexOf('<', start);
    View Full Code Here

    Examples of jfxtras.labs.scene.control.gauge.Content

            if(iContent<fullAreas.size()){
                clearArea(iContent);
                fullAreas.remove(iContent);
            }
           
            final Content content=getSkinnable().getContents().get(iContent);
           
            int x0 = (int) content.getOrigin().getX() + (int) content.getArea().getX();
            int y0 = (int) content.getOrigin().getY() + (int) content.getArea().getY();
            int maxX = Math.min((int) content.getArea().getWidth(), getSkinnable().ledWidthProperty().intValue());
            int maxY = Math.min((int) content.getArea().getHeight(), getSkinnable().ledHeightProperty().intValue());
            visibleArea[iContent] = new Rectangle(Math.max(x0, 0), Math.max(y0, 0), maxX, maxY);

            if (content.getType().equals(Content.Type.IMAGE)) {
                byte[] sBytes=null;
                if(iContent<fullAreas.size() && byteAreas!=null && byteAreas.get(iContent)!=null){
                    sBytes=byteAreas.get(iContent);
                } else {
                    UtilHex img = new UtilHex();
                    img.convertsBmp(content.getBmpName(), 65, 190, true,true,true);
                    sBytes = img.getRawData();
                    byteAreas.add(iContent,sBytes);
                    img.resetRawData();
                }
                if (sBytes != null) {
                    final int levels = 3;
                    final int bmpHeight = UtilHex.bytes2int(new byte[]{sBytes[8],sBytes[9]});
                    final int tamLineaBMT = UtilHex.bytes2int(new byte[]{sBytes[20],sBytes[21],sBytes[22],sBytes[23]}) / bmpHeight / levels / 3; // en bytes
                    int pos = 32;
                    final int[][] area = new int[bmpHeight][tamLineaBMT * 8];
                    final int[] colors={(content.getColor().equals(MatrixColor.RED) || content.getColor().equals(MatrixColor.YELLOW) || content.getColor().equals(MatrixColor.RGB))?1:0,
                        (content.getColor().equals(MatrixColor.GREEN) || content.getColor().equals(MatrixColor.YELLOW) || content.getColor().equals(MatrixColor.RGB))?1:0,
                        (content.getColor().equals(MatrixColor.BLUE) || content.getColor().equals(MatrixColor.RGB))?1:0};
                    for (int j = 0; j < levels; j++) { // leds: [RED k=0]0-1-2-3, [GREEN k=1]0-10-20-30, [BLUE k=2] 0-100-200-300
                        for(int k=0; k<3; k++){ // 3 colors
                            for (int fila = 0; fila < bmpHeight; fila++) {
                                for (int i = 0; i < tamLineaBMT; i++) { // recorrido por cada byte de cada fila
                                    BitSet bs=BitSet.valueOf(new byte[]{sBytes[pos++]});
                                    for (int m = 0; m < 8; m++) {
                                        area[fila][i * 8 + m] += (bs.get(7-m)?1:0)*Math.pow(10,k)*colors[k];
                                    }
                                }
                            }                       
                        }
                    }
                    fullAreas.add(iContent,area);
                }
                else{
                    System.out.println("Error, image null: "+content.getBmpName());
                    fullAreas.add(iContent,null);
                    byteAreas.add(iContent,null);
                }
            } else if (content.getType().equals(Content.Type.TEXT)) {
                MatrixPanel.DotFont dotF = new MatrixPanel.DotFont(content.getTxtContent(), content.getMatrixFont(), content.getFontGap().getGapWidth());
                boolean[][] bDots = dotF.getDotString();
                if (bDots != null) {
                    final int color=(content.getColor().equals(MatrixColor.RED)?3:
                            (content.getColor().equals(MatrixColor.GREEN)?30:
                            (content.getColor().equals(MatrixColor.BLUE)?300:
                            (content.getColor().equals(MatrixColor.YELLOW)?33:333))));
                    final int[][] area = new int[bDots.length][bDots[0].length];
                    for (int fila = 0; fila < bDots.length; fila++) {
                        for (int j = 0; j < bDots[fila].length; j++) {
                            area[fila][j] = ((bDots[fila][j]) ? color : 0);
                        }
    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.