Examples of Text

Per RFC4287:

 A Text construct contains human-readable text, usually in small quantities.  The content of Text constructs is Language-Sensitive. atomPlainTextConstruct = atomCommonAttributes, attribute type { "text" | "html" }?, text atomXHTMLTextConstruct = atomCommonAttributes, attribute type { "xhtml" }, xhtmlDiv atomTextConstruct = atomPlainTextConstruct | atomXHTMLTextConstruct 
  • org.apache.axis.message.Text
    A representation of a node whose value is text. A Text object may represent text that is content or text that is a comment. @author Davanum Srinivas (dims@yahoo.com)
  • org.apache.hadoop.io.Text
    This class stores text using standard UTF8 encoding. It provides methods to serialize, deserialize, and compare texts at byte level. The type of length is integer and is serialized using zero-compressed format.

    In addition, it provides methods for string traversal without converting the byte array to a string.

    Also includes utilities for serializing/deserialing a string, coding/decoding a string, checking if a byte array contains valid UTF8 code, calculating the length of an encoded string.

  • org.apache.isis.viewer.dnd.drawing.Text
  • org.apache.lenya.notification.Text
    A translatable text with optional i18n parameters.
  • org.apache.openejb.jee.Text
    @version $Revision: 450758 $ $Date: 2006-09-28 03:40:18 -0500 (Thu, 28 Sep 2006) $
  • org.apache.pivot.wtk.media.drawing.Text
    Shape representing a block of text.
  • org.apache.sqoop.schema.type.Text
    String. JDBC Types: char, varchar, nchar, clob
  • org.apache.stanbol.entityhub.servicesapi.model.Text
    Defines a natural language text in a given language.

    The text MUST NOT be null nor an empty {@link String}. The language may be null (indicating the default language) or any kind of value. It is recommended to use ISO 639-1 codes (two Letter codes). By definition it is also allowed to use empty strings as language. However implementations of this interface are free to convert the empty language to null.

    Implementations of that interface MUST BE immutable @author Rupert Westenthaler

  • org.apache.struts2.components.Text
    Render a I18n text message.

    The message must be in a resource bundle with the same name as the action that it is associated with. In practice this means that you should create a properties file in the same package as your Java class with the same name as your class, but with .properties extension.

    If the named message is not found in a property file, then the body of the tag will be used as default message. If no body is used, then the stack will be searched, and if a value is returned, it will written to the output. If no value is found on the stack, the key of the message will be written out.

    Example:

      Accessing messages from a given bundle (the i18n Shop example bundle in the first example) and using bundle defined through the framework in the second example.

      <!-- First Example --> <s:i18n name="struts.action.test.i18n.Shop"> <s:text name="main.title"/> </s:i18n> <!-- Second Example --> <s:text name="main.title" /> <!-- Third Examlpe --> <s:text name="i18n.label.greetings"> <s:param >Mr Smith</s:param> </s:text>  
      <-- Fourth Example --> <s:text name="some.key" /> <-- Fifth Example --> <s:text name="some.invalid.key" > The Default Message That Will Be Displayed </s:text>  
    @see Param
  • org.atomojo.app.client.Text
    @author alex
  • org.beangle.struts2.view.components.Text
  • org.boris.expr.function.excel.TEXT
  • org.castor.xmlctf.xmldiff.xml.nodes.Text
    A class representing an XML Text node. @author Edward Kuns @version $Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $ @since Castor 1.1
  • org.dbpedia.spotlight.model.Text
  • org.docx4j.wml.Text
    as.openxmlformats.org/wordprocessingml/2006/main>ST_String"> <attribute ref="{http://www.w3.org/XML/1998/namespace}space"/> </extension> </simpleContent> </complexType>
  • org.dom4j.Text

    Text defines an XML Text node.

    @author James Strachan @version $Revision: 1.7 $
  • org.drools.guvnor.server.files.Response.Text
  • org.drools.repository.remoteapi.Response.Text
  • org.dspace.app.xmlui.wing.element.Text
  • org.eclipse.graphiti.mm.algorithms.Text
  • org.eclipse.swt.widgets.Text
    ipse.org/swt/snippets/#text">Text snippets @see SWT Example: ControlExample @see Sample code and further information @noextend This class is not intended to be subclassed by clients.
  • org.elasticsearch.common.text.Text
    Text represents a (usually) long text data. We use this abstraction instead of {@link String}so we can represent it in a more optimized manner in memory as well as serializing it over the network as well as converting it to json format.
  • org.exist.xslt.expression.Text
    @author Dmitriy Shabanov
  • org.exoplatform.commons.utils.Text
    Represents text that can have several internal representations in order to minimize serialization when it is possible. The bytes returned by the byte oriented method must returned the data encoded with the UTF-8 encoding. @author Julien Viet @version $Revision$
  • org.geomajas.gwt.client.gfx.paintable.Text

    Paintable definition for drawing text onto a GraphicsWidget.

    @author Pieter De Graef
  • org.geotools.xml.Text
    Represents text encountered in the parse tree. @author Justin Deoliveira, OpenGeo @source $URL$
  • org.gwtbootstrap3.client.ui.html.Text
    Simple text node.

    UiBinder example

     {@code  ... }
    @author Sven Jacobs
  • org.hibernate.search.annotations.Text
  • org.htmlparser.Text
    This interface represents a piece of the content of the HTML document.
  • org.jdom.Text
    Character-based XML content. Provides a modular, parentable method of representing text. Text makes no guarantees about the underlying textual representation of character data, but does expose that data as a Java String. @version $Revision: 1.25 $, $Date: 2007/11/10 05:28:59 $ @author Brett McLaughlin @author Jason Hunter @author Bradley S. Huffman
  • org.jdom2.Text
    The FeatureCacheGraphicList is an extended OMGraphicList that knows what types of VPF features it holds. This allows it to be able to use a VPFFeatureGraphicWarehouse to set the proper DrawingAttributes on its contents.
  • org.openhab.model.sitemap.Text
  • org.openqreg.bean.Text
    This is the attributes class for the TEXT table.
  • org.pdfclown.documents.contents.objects.Text
    fanochizzolini.it) @since 0.0.4 @version 0.1.0
  • org.restlet.ext.atom.Text
    A Text construct contains human-readable text, usually in small quantities. The content of Text constructs is Language-Sensitive. @author Jerome Louvel
  • org.rometools.feed.module.mediarss.types.Text
    <media:text>

    Allows the inclusion of a text transcript, closed captioning, or lyrics of the media content. Many of these elements are permitted to provide a time series of text. In such cases, it is encouraged, but not required, that the elements be grouped by language and appear in time sequence order based on the start time. Elements can have overlapping start and end times. It has 4 optional attributes.

            <media:text type="plain" lang="en" start="00:00:03.000" end="00:00:10.000"> Oh, say, can you see</media:text> <media:text type="plain" lang="en" start="00:00:10.000" end="00:00:17.000">By the dawn's early light</media:text> 

    type specifies the type of text embedded. Possible values are either 'plain' or 'html'. Default value is 'plain'. All html must be entity-encoded. It is an optional attribute.

    lang is the primary language encapsulated in the media object. Language codes possible are detailed in RFC 3066. This attribute is used similar to the xml:lang attribute detailed in the XML 1.0 Specification (Third Edition). It is an optional attribute.

    start specifies the start time offset that the text starts being relevant to the media object. An example of this would be for closed captioning. It uses the NTP time code format (see: the time attribute used in <media:thumbnail>). It is an optional attribute.

    end specifies the end time that the text is relevant. If this attribute is not provided, and a start time is used, it is expected that the end time is either the end of the clip or the start of the next <media:text> element.

    @author cooper
  • org.thymeleaf.dom.Text

    A Text node in a Thymeleaf DOM tree.

    @author Daniel Fernández @since 2.0.0
  • org.vaadin.gwtgraphics.client.shape.Text
    Embed text into DrawingArea. @author Henri Kerola / IT Mill Ltd
  • org.w3c.dom.Text
    The Text interface inherits from CharacterData and represents the textual content (termed character data in XML) of an Element or Attr . If there is no markup inside an element's content, the text is contained in a single object implementing the Text interface that is the only child of the element. If there is markup, it is parsed into the information items (elements, comments, etc.) and Text nodes that form the list of children of the element.

    When a document is first made available via the DOM, there is only one Text node for each block of text. Users may create adjacent Text nodes that represent the contents of a given element without any intervening markup, but should be aware that there is no way to represent the separations between these nodes in XML or HTML, so they will not (in general) persist between DOM editing sessions. The normalize() method on Element merges any such adjacent Text objects into a single node for each block of text.

  • org.waveprotocol.wave.model.document.raw.impl.Text
    Mimics a DOM Text node.
  • org.zkoss.openlayers.layer.Text
    @author jumperchen
  • palmed.edit.text.Text
    This class handles the text. @author Mathieu Champlon @version $Revision$ $Date$
  • quickfix.field.Text
  • redis.seek.Text
  • rtype.entity.Text
  • seph.lang.Text
    @author Ola Bini
  • stephencarmody.k8.text.Text
  • yarfraw.core.datamodel.Text

  • Examples of org.htmlparser.Text

            Node node;
            Tag tag;
            String paramName;
            String paramValue;
            Vector attributes;
            Text string;

            kids = getChildren ();
            if (null == kids)
                kids = new NodeList ();
            else
                // erase appletParams from kids
                for (int i = 0; i < kids.size (); )
                {
                    node = kids.elementAt (i);
                    if (node instanceof Tag)
                        if (((Tag)node).getTagName ().equals ("PARAM"))
                        {
                            kids.remove (i);
                            // remove whitespace too
                            if (i < kids.size ())
                            {
                                node = kids.elementAt (i);
                                if (node instanceof Text)
                                {
                                    string = (Text)node;
                                    if (0 == string.getText ().trim ().length ())
                                        kids.remove (i);
                                }  
                            }
                        }
                        else
    View Full Code Here

    Examples of org.jdom.Text

            decrementNesting();
            this.currentElement = this.currentElement.getParentElement();
        }

        public void writeTextContent(String text) throws IOException {
            this.currentElement.addContent(new Text(text));
        }
    View Full Code Here

    Examples of org.jdom2.Text

        private void print( Object element ) throws IOException, JDOMException
        {
            if( element instanceof Text )
            {
                Text t = (Text)element;
                String s = t.getText();
                if( m_preStack.isPreMode() )
                {
                    m_out.print( s );
                }
                else
    View Full Code Here

    Examples of org.openhab.model.sitemap.Text

     
      /**
       * {@inheritDoc}
       */
      public EList<Widget> renderWidget(Widget w, StringBuilder sb) throws RenderException {
        Text text = (Text) w;
        String snippet = (text.getChildren().size() > 0) ?
          getSnippet("text_link") : getSnippet("text");     
         
        snippet = StringUtils.replace(snippet, "%id%", itemUIRegistry.getWidgetId(w));
        snippet = StringUtils.replace(snippet, "%icon%", escapeURLPath(itemUIRegistry.getIcon(w)));
        snippet = StringUtils.replace(snippet, "%label%", getLabel(w));
    View Full Code Here

    Examples of org.openqreg.bean.Text

              // Collection<TextBean> ct = TextFinder.findByTextid(con,
              // lbtr.getTextid());
              Collection<TextBean> ct = TextFinder
                  .findByIdLanguageidDocument(con, lbtr.getTextid(),
                      currentLang, doBean.getDocument());
              Text t = null;
              for (Text te : ct) {
                t = te;
              }
              // Text t = TextFinder.findByTextid(con, lbtr.getTextid());
              if (null != t) {
                oneListOption.setText(t.getText());
              } else {
                oneListOption.setText("");
                // logger.log(Level.WARN,
                // "Translation missing for option: "+lbtr.getId() + "_"
                // + lbtr.getListorder() + "_D "+ currentLang);
    View Full Code Here

    Examples of org.pdfclown.documents.contents.objects.Text

        @see #end()
      */
      private Text beginText(
        )
      {return (Text)begin(new Text());}
    View Full Code Here

    Examples of org.restlet.ext.atom.Text

         *
         * @param attrs
         *            The attributes attached to the element.
         */
        public void startTextElement(Attributes attrs) {
            this.currentText = new Text(getMediaType(attrs.getValue("", "type")));
        }
    View Full Code Here

    Examples of org.rometools.feed.module.mediarss.types.Text

                        Time start = (text.getAttributeValue("start") == null)
                        ? null : new Time(text.getAttributeValue("start"));
                        Time end = (text.getAttributeValue("end") == null) ? null
                                : new Time(text.getAttributeValue(
                                "end"));
                        values.add(new Text(text.getAttributeValue("type"),
                                text.getTextTrim(), start, end));
                    } catch (Exception ex) {
                        LOG.log(Level.WARNING, "Exception parsing text tag.", ex);
                    }
                }
    View Full Code Here

    Examples of org.thymeleaf.dom.Text

        Element thead = DomUtils.findElement((Element) tableNode, "thead");
       
        Element tr = new Element("tr");
        for(HtmlColumn column : table.getLastHeaderRow().getColumns()){
          Element th = new Element("th");
          th.addChild(new Text(column.getContent().toString()));
          tr.addChild(th);
        }

        if(thead != null){
          thead.addChild(tr);
    View Full Code Here

    Examples of org.vaadin.gwtgraphics.client.shape.Text

          ScreenContainer container = mapPresenter.addScreenContainer();
          rectangle = new Rectangle(60, 40, 200, 80);
          rectangle.setFillColor("#CC9900");
          rectangle.setFillOpacity(0.4);

          text = new Text(70, 60, "Drag me...");
          text.setFontFamily("Arial");
          text.setFontSize(16);
          text.setStrokeOpacity(0);
          text.setFillColor("#000000");
          container.add(text);
    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.