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.w3c.dom.Text

                Element tspan = doc.createElementNS("http://www.w3.org/2000/svg", "tspan");
                tspan.setAttributeNS(null, "x", String.valueOf(txtXLeft));
                tspan.setAttributeNS(null, "y", String.valueOf(txtYTop));
                tspan.setAttributeNS(null, "id", "tspan-" + imgName);

                Text text2 = doc.createTextNode(imgDisplayName);
                tspan.appendChild(text2);

                text1.appendChild(tspan);
                a.appendChild(text1);
            }
    View Full Code Here

    Examples of org.waveprotocol.wave.model.document.raw.impl.Text

            DocProviders.POJO.parse("ab").asOperation(),
            null, null, null, DocumentSchema.NO_SCHEMA_CONSTRAINTS);

        TextNodeOrganiser<Text> organiser = cxt.textNodeOrganiser();
        MutableDocument<Node, Element, Text> doc = cxt.document();
        Text first = (Text) doc.getFirstChild(doc.getDocumentElement());
        Text text = organiser.splitText(first, 1);
        LocalDocument<Node, Element, Text> local = cxt.annotatableContent();

        Element tr = local.transparentCreate("l", Attributes.EMPTY_MAP, doc.getDocumentElement(), text);
        local.transparentMove(tr, text, null, null);
    View Full Code Here

    Examples of org.zkoss.openlayers.layer.Text

        super.doAfterCompose(comp);
        map.addLayer(new WMS( "OpenLayers WMS",
                 "http://vmap0.tiles.osgeo.org/wms/vmap0", toMap(pair("layers", "basic"))));
                
            map.setCenter(new LonLat(0, 0), 0);
            map.addLayer(new Text("text", toMap(pair("location", Executions.getCurrent().getContextPath() + "/data/textfile.txt"))));

            Markers markers = new Markers("Markers");
            map.addLayer(markers);

            Size size = new Size(21,25);
    View Full Code Here

    Examples of palmed.edit.text.Text

        private ILineVisitor mockVisitor;
        private OutputStream mockOutput;

        protected void setUp()
        {
            content = new Content( new Text() ); // FIXME cannot really use a mock text...
            mockVisitor = (ILineVisitor)createMock( ILineVisitor.class );
            mockOutput = (OutputStream)createMock( OutputStream.class );
        }
    View Full Code Here

    Examples of quickfix.field.Text

        }

        public static Email createEmailMessage(String subject) {
            Email email = new Email(new EmailThreadID("ID"), new EmailType(EmailType.NEW), new Subject(subject));
            Email.LinesOfText text = new Email.LinesOfText();
            text.set(new Text("Content"));
            email.addGroup(text);
            return email;
        }
    View Full Code Here

    Examples of redis.seek.Text

        @Test
        public void stopwords() {
            Set<String> stopwords = new HashSet<String>();
            stopwords.add("un");
            stopwords.add("para");
            Text text = new Text("Un collar para un perro", stopwords);
            Set<String> words = text.getWords();
            assertEquals(2, words.size());
        }
    View Full Code Here

    Examples of rtype.entity.Text

        Planet planet= new Planet(IEntity.PLANET);
          planet.spawn(new Vector2f(320,0),new Vector2f(7f*-1,0),Prototyp.background);
       
        layer = new Layer();
       
        Text title = new Text (" . Prototyp .");
        Text commandLabel = new Text("- Commands -");
        Text commandLabel0 = new Text("P            : Pause.");
        Text commandLabel1 = new Text("F1           : Start homing missile.");
        Text commandLabel2 = new Text("F2           : Start enemy waves.");
        Text commandLabel3 = new Text("X            : Detach/Move Orb.");
        Text commandLabel4 = new Text("Arrow key    : Move.");
        Text commandLabel5 = new Text("Space        : Fire ( maintain to charge).");
        Text commandLabel6 = new Text("Press SPACE to Start !!");
        Vector2f immobile = new Vector2f(0,0);
       
        int pointY = 240;
        int pointX = -270;
        int interspace = 20;
       
        title.spawn(new Vector2f(pointX+160,pointY -=interspace*4), immobile, layer);
        commandLabel.spawn(new Vector2f(pointX+200,pointY -=interspace*4), immobile, layer);
        commandLabel0.spawn(new Vector2f(pointX,pointY -=interspace*2), immobile, layer);
        commandLabel1.spawn(new Vector2f(pointX,pointY -=interspace), immobile, layer);
        commandLabel2.spawn(new Vector2f(pointX,pointY -=interspace), immobile, layer);
        commandLabel3.spawn(new Vector2f(pointX,pointY -=interspace), immobile, layer);
        commandLabel4.spawn(new Vector2f(pointX,pointY -=interspace), immobile, layer);
        commandLabel5.spawn(new Vector2f(pointX,pointY -=interspace), immobile, layer);
        commandLabel6.spawn(new Vector2f(pointX+150,pointY -=interspace*3), immobile, layer);

       
        KeyListener space = new KeyListener()
        {
            public void onKeyUp()
    View Full Code Here

    Examples of seph.lang.Text

    * @author <a href="mailto:ola.bini@gmail.com">Ola Bini</a>
    */
    public class PersistentListTest {
        @Test
        public void first_will_return_the_given_first_value() {
            SephObject expected = new Text("foo");
            assertSame(expected, new PersistentList(expected).first());
        }
    View Full Code Here

    Examples of stephencarmody.k8.text.Text

       
        // Set the text scaling proportional to width
        textScale = layer.getWidth()/2000;
       
        // Position
        position = new Text();
        position.setScale(textScale);
        position.moveRight(layer.getWidth()/2);
        position.moveUp(0.001f);
        scenenode.appendChild(position);
       
        // FPS Counter
        fpsCounter = new FPSCounter();
            Text text = fpsCounter.getText();
            text.setScale(textScale);
            text.moveRight(0.001f);
            text.moveUp(0.001f);
            scenenode.appendChild(text);
       
        setUpdateRate(10);
      }
    View Full Code Here

    Examples of yarfraw.core.datamodel.Text

       {
          return COMPONENT_TYPE;
       }

       private Text makeText(String textString) {
          Text text = new Text(textFormat);
          text.setText(textString);
          return 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.