Create a (name, value) text multi-part field.
This return a part equivalent to &lt;input type="text" /&gt; field in multi part form.

@deprecated use {@link #text(String, String)} instead.
2970
@Deprecated
    public static Part<String> param(String name, String value) {
        return text(name, value);
    }
1094521
public void addText(String label,
                        String value)
    {
        Composite c = new Composite();
        c.add(value);
        addField(label,c);
    }
344368
private MimePart createTextMimePart() throws MessagingException {
		MimePart bodyPart = new MimeBodyPart();
		bodyPart.setText(textPart);
		return bodyPart;
	}
452126
def text_input(*args, **kwargs):
    '''
    
    '''
    text_input = wtforms.TextAreaField(*args, **kwargs)
    text_input.input_type = 'text'
    return text_input
258369
function (text) {
                var dataModel = this._dataModel;
                var trimText = ariaUtilsString.trim(text);

                if (text !== '' && text !== dataModel.text) {
                    dataModel.text = trimText;
                    this._resourcesHandler.getSuggestions(trimText, {
                        fn : this._suggestionsCallback,
                        scope : this,
                        args : {
                            nextValue : trimText,
                            triggerDropDown : false
                        }
                    });
                    return null;
                }
                var report = new aria.widgets.controllers.reports.DropDownControllerReport();

                if (this.maxOptions && this.selectedSuggestions.length == this.maxOptions) {
                    trimText = "";
                }

                // an empty field is usually not considered as an error
                if (trimText === '') {
                    dataModel.value = null;
                    dataModel.text = '';
                    report.ok = true;
                } else {
                    if (this.freeText) {
                        report.ok = true;
                        var valueToAdd;
                        valueToAdd = dataModel.value || trimText;
                        dataModel.value = null;
                        dataModel.text = '';
                        report.text = "";
                        report.suggestionsToAdd = this._checkNewSuggestions([valueToAdd]);
                    } else if (!dataModel.value) {
                        report.ok = false;
                        report.value = null;
                        report.errorMessages.push(this.res.errors["40020_WIDGET_AUTOCOMPLETE_VALIDATION"]);
                    }
                }
                report.value = this.selectedSuggestions;

                return report;
            }
919248
static @NonNull TextComponent of(final char value) {
    if(value == '\n') return Component0.NEWLINE;
    if(value == ' ') return Component0.SPACE;
    return TextComponent.of(String.valueOf(value));
  }
270640
@SuppressWarnings("rawtypes")
	@Override
	protected Object convertToType(Class type, Object value) throws Throwable {
		return new Text(value.toString());
	}
250200
static Text asEngineText(final IText text) {
        if (text instanceof Text) {
            return (Text) text;
        }
        return new Text(text.getText(), text.getTemplateName(), text.getLine(), text.getCol());
    }
806485
@Override
    public TextMessage createTextMessage() throws JMSRuntimeException {

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "createTextMessage");

        TextMessage textMessage = null;

        try {
            textMessage = jmsSession.createTextMessage();
        } catch (JMSException jmse) {
            throw (JMSRuntimeException) JmsErrorUtils.getJMS2Exception(jmse, JMSRuntimeException.class);
        } finally {
            if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                SibTr.exit(this, tc, "createTextMessage", new Object[] { textMessage });
        }

        return textMessage;

    }
483326
function createText(value, data) {
  const node = { object: 'text', data };
  const leaves = isArray(value) ? value : [{ text: value }];
  return { ...node, leaves };
}
362752
public MultipartContent field(String fieldName, String contentType, String value) {
        return part(fieldName, contentType, value);
    }
149302
public Element appendText(String text) {
        Validate.notNull(text);
        TextNode node = new TextNode(text);
        appendChild(node);
        return this;
    }
1015989
public static Mapping<String> text(Constraint... constraints) {
        return new FieldMapping(
                InputMode.SINGLE,
                mkSimpleConverter(Function.identity()),
                new MappingMeta(MAPPING_STRING, String.class)
            ).constraint(constraints);
        }
743939
@Override
    public void setAsText(final String text) {
        if (BeanUtils.isNull(text)) {
            setValue(null);
            return;
        }
        Object newValue = Boolean.valueOf(text);
        setValue(newValue);
    }
307591
public Multipart fields(String ... namesAndValues){

        if(namesAndValues == null ){
            throw new NullPointerException("'names and values' cannot be null");
        }

        if(namesAndValues.length % 2 != 0){
            throw new IllegalArgumentException("mus pas even number of arguments");
        }

        for (int i = 0; i < namesAndValues.length - 1; i += 2) {
            if (namesAndValues[i] == null) throw new IllegalArgumentException("parameter names cannot be nulls");
            formFields.add(new FormField(namesAndValues[i], namesAndValues[i + 1]));
        }
        return this;
    }
589151
public XTextComponent addTextField(String content, String name, int x,
            int y, int width, int height) throws Exception {
        Object labelModel = multiServiceFactory.createInstance("com.sun.star.awt.UnoControlEditModel");
        XPropertySet textFieldProperties = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, labelModel);
        textFieldProperties.setPropertyValue("PositionX", new Integer(x));
        textFieldProperties.setPropertyValue("PositionY", new Integer(y));
        textFieldProperties.setPropertyValue("Width", new Integer(width));
        textFieldProperties.setPropertyValue("Height", new Integer(height));
        textFieldProperties.setPropertyValue("Name", name);
        textFieldProperties.setPropertyValue("TabIndex", new Short(
                (short) tabcount++));
        textFieldProperties.setPropertyValue("MultiLine", new Boolean(false));
        textFieldProperties.setPropertyValue("Text", content);

        // insert the control models into the dialog model
        this.nameContainer.insertByName(name, labelModel);

        XControlContainer controlContainer = (XControlContainer) UnoRuntime.queryInterface(XControlContainer.class, this.oUnoDialog);
        Object obj = controlContainer.getControl(name);
        XTextComponent field = (XTextComponent) UnoRuntime.queryInterface(
                XTextComponent.class, obj);

        return field;
    }
673368
public AnnotatedTextBuilder addText(String text) {
    parts.add(new TextPart(text, TextPart.Type.TEXT));
    return this;
  }