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 org.jboss.xb.binding.Content

       }

       private boolean marshalModelGroupChoice(Collection particles, boolean declareNs)
       {
          boolean marshalled = false;
          Content mainContent = this.content;
          for(Iterator i = particles.iterator(); i.hasNext() && !marshalled;)
          {
             ParticleBinding particle = (ParticleBinding)i.next();
             this.content = new Content();
             marshalled = marshalParticle(particle, declareNs);
          }

          if(marshalled)
          {
             mainContent.append(this.content);
          }
          this.content = mainContent;

          return marshalled;
       }
    View Full Code Here

    Examples of org.jbpm.task.Content

                        break;
                    }
                    case AddAttachmentRequest: {
                        response = CommandName.AddAttachmentResponse;
                        Attachment attachment = (Attachment) cmd.getArguments().get(1);
                        Content content = (Content) cmd.getArguments().get(2);
                        taskSession.addAttachment((Long) cmd.getArguments().get(0),
                                attachment,
                                content);

                        List args = new ArrayList(2);
                        args.add(attachment.getId());
                        args.add(content.getId());
                        Command resultsCmnd = new Command(cmd.getId(),
                                CommandName.AddAttachmentResponse,
                                args);
                        session.write(resultsCmnd);
                        break;
                    }
                    case DeleteAttachmentRequest: {
                        response = CommandName.DeleteAttachmentResponse;
                        long taskId = (Long) cmd.getArguments().get(0);
                        long attachmentId = (Long) cmd.getArguments().get(1);
                        long contentId = (Long) cmd.getArguments().get(2);
                        taskSession.deleteAttachment(taskId,
                                attachmentId,
                                contentId);
                        Command resultsCmnd = new Command(cmd.getId(),
                                CommandName.DeleteAttachmentResponse,
                                Collections.emptyList());
                        session.write(resultsCmnd);
                        break;
                    }
                    case SetDocumentContentRequest: {
                        response = CommandName.SetDocumentContentResponse;
                        long taskId = (Long) cmd.getArguments().get(0);
                        Content content = (Content) cmd.getArguments().get(1);
                        taskSession.setDocumentContent(taskId,
                                content);

                        List args = new ArrayList(1);
                        args.add(content.getId());
                        Command resultsCmnd = new Command(cmd.getId(),
                                CommandName.SetDocumentContentResponse,
                                args);
                        session.write(resultsCmnd);
                        break;
                    }
                    case GetContentRequest: {
                        response = CommandName.GetContentResponse;
                        long contentId = (Long) cmd.getArguments().get(0);
                        Content content = taskSession.getContent(contentId);
                        List args = new ArrayList(1);
                        args.add(content);
                        Command resultsCmnd = new Command(cmd.getId(),
                                CommandName.GetContentResponse,
                                args);
    View Full Code Here

    Examples of org.jdom.Content

        assertEquals("Tilden <b>Hike</b>", item.getTitle());
        assertEquals("A hike in Tilden Park...", item.getDescription());
      }

      public void testTrimContents() {
        Content whitespace = new Text(" \n\t\t");
        Content cdata = new CDATA("Test");
        List<Content> content;
        List newList;

        // Empty content list
        content = new ArrayList<Content>();
    View Full Code Here

    Examples of org.jdom.Content

        }


        private Element getVariable(String name, Element env) {
            for (Iterator it = env.getContent().iterator(); it.hasNext();) {
                Content o = (Content) it.next();
                if (o instanceof Element && Utils.getAttributeValue("name", (Element) o).equals(name))
                    return (Element) o;
            }
            return null;
        }
    View Full Code Here

    Examples of org.jdom2.Content

        sentence+="\t\t\t<s snum=\""+String.valueOf(s)+"\">\n";
        ArrayList<Content> stack=new ArrayList<Content>();
        stack.addAll(body.getContent());
        while(stack.size()>0)
        {
          Content c=stack.get(0);
          stack.remove(0);
          if(c.getCType().equals(CType.Text))//actual text
          {
            //a dot creates a new sentence after processing
            String line=c.getValue().trim();
            while(!line.equals(""))
            {         
              int idx=line.indexOf(" ");
              String words;
              if(idx>=0)
                words=line.substring(0,idx);
              else
                words=line;
              line=line.substring(words.length()).trim();
              String punct=words.replaceAll("\\p{Punct}","�");
              int index=0;
              while(!punct.equals(""))
              {
                idx=punct.indexOf("�");
                String word;
                if(idx>=0)
                  word=punct.substring(0,idx);
                else
                  word=punct;
                if(word.equals(""))
                {
                  //first the punctuation then the word
                  //add a punc node
                 
                  if(words.charAt(index)=='<')
                  {
                    sentence+="\t\t\t\t<punc>&lt;</punc>\n";
                  }
                  else
                  {
                    if(words.charAt(index)=='>')
                      sentence+="\t\t\t\t<punc>&gt;</punc>\n";
                    else
                      sentence+="\t\t\t\t<punc>"+words.charAt(index)+"</punc>\n";
                  }
                  if(words.charAt(index)=='.')
                  {
                    sentence+=("\t\t\t</s>\n");
                    if(sentence.contains("wf"))
                    {
                      System.out.print(".");
                      s++;
                      paragraph+=sentence;
                    }
                    sentence="\t\t\t<s snum=\""+String.valueOf(s)+"\">\n";
                  }
                  index++;
                  punct=punct.substring(1);
                }
                else
                {
                  index+=word.length();
                  sentence+="\t\t\t\t<wf cmd=\"tag\" pos=\"\" lemma=\""+word+"\" wnsn=\"0\" lexsn=\"NA\">";
                  sentence+=word;
                  sentence+="</wf>\n";
                  punct=punct.substring(word.length());
                }
                 
              }
               
            }
          }
          if(c.getCType().equals(CType.Element))//other html elements such a or table should extract the text inside these elements
          {
            Element current=(Element)c;
            //tr creates a new sentence after processing
            String href=current.getAttributeValue("href");
         
    View Full Code Here

    Examples of org.mortbay.jetty.ResourceCache.Content

        public void testResourceCache() throws Exception
        {
            assertTrue(cache.lookup("does not exist",factory)==null);
            assertTrue(cache.lookup(names[9],factory)==null);
           
            Content content;
            content=cache.lookup(names[8],factory);
            assertTrue(content!=null);
            assertEquals(80,content.getContentLength());
        
            assertEquals(80,cache.getCachedSize());
            assertEquals(1,cache.getCachedFiles());

            content=cache.lookup(names[1],factory);
    View Full Code Here

    Examples of org.noos.xing.mydoggy.Content

            } else {
                constraint = new MultiSplitConstraint(AggregationPosition.DEFAULT);
            }

            // Create and register a new content to the mydoggy layout manager
            Content c = contentManager.addContent(
                    pageComponent.getId(),
                    pageComponent.getDisplayName(), // tabName
                    pageComponent.getIcon(),
                    pageComponent.getControl(),
                    pageComponent.getDisplayName(), // toolTip
                    constraint);

            Assert.notNull(c);
            Assert.isTrue(c.getId().equals(pageComponent.getId()));
            contentAndPageComponentById.put(pageComponent.getId(),
                    new DoggyEntry<Content, PageComponent>(c, pageComponent));

            // trigger the createControl method of the PageComponent, so if a
            // PageComponentListener is added
    View Full Code Here

    Examples of org.purl.sword.atom.Content

          if (bf != null)
          {
            format = bf.getMIMEType();
          }

          Content con = new Content();
          con.setType(format);
          con.setSource(bsurl);
          entry.setContent(con);

          log.debug("Adding content element with url=" + bsurl);
        }
        catch (InvalidMediaTypeException e)
    View Full Code Here

    Examples of org.restlet.ext.atom.Content

                        this.state = State.FEED_ENTRY_LINK;
                    } else if (this.state == State.FEED_ENTRY_SOURCE) {
                        this.state = State.FEED_ENTRY_SOURCE_LINK;
                    }
                    // Glean the content
                    this.currentContent = new Content();
                    // Content available inline
                    initiateInlineMixedContent();
                    this.currentLink.setContent(currentContent);
                    startLink(this.currentLink);
                } else if (localName.equalsIgnoreCase("entry")) {
                    this.state = State.FEED_ENTRY;
                    startEntry(this.currentEntry);
                } else if (localName.equals("category")) {
                    this.currentCategory = new Category();
                    this.currentCategory.setTerm(attrs.getValue("", "term"));
                    this.currentCategory.setScheme(new Reference(attrs.getValue("",
                            "scheme")));
                    this.currentCategory.setLabel(attrs.getValue("", "label"));

                    if (this.state == State.FEED_ENTRY) {
                        this.state = State.FEED_ENTRY_CATEGORY;
                    } else if (this.state == State.FEED_ENTRY_SOURCE) {
                        this.state = State.FEED_ENTRY_SOURCE_CATEGORY;
                    }
                } else if (localName.equalsIgnoreCase("content")) {
                    if (this.state == State.FEED_ENTRY) {
                        contentType = getMediaType(attrs.getValue("", "type"));
                        String srcAttr = attrs.getValue("", "src");
                        this.currentContent = new Content();

                        if (srcAttr == null) {
                            // Content available inline
                            initiateInlineMixedContent();
                        } else {
    View Full Code Here

    Examples of org.rssowl.contrib.podcast.content.Content

        if (lMimeType != null) {
          if (!ContentLogic.getInstance().supportsContent(lMimeType, lPlayer)) {
            if (!(mDefaultPlayer instanceof NoPlayer)) {
              try {
                lPlayer = ContentLogic.getInstance().getPlayer(
                    new Content(lMimeType));
              } catch (ContentException ce) {
                // Mime type is not recognized.
              }
              if (lPlayer == null) {
                lPlayer = new NoPlayer();
    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.