Returns {@code com.google.appengine.api.datastore.Text} value as string
representation.
166362
@Override
    protected String convertToString(Object value) throws Throwable {
		Text text = (Text) value;
		return text.getValue();
    }
762562
public static String getText(int type) {
        String text = "";

        if (TEXTS.containsKey(type)) {
            text = TEXTS.get(type);
        }

        return text;
    }
736296
public String getStringValue(String elemName)
    {
        if (_valueMap.containsKey(elemName))
            return _valueMap.get(elemName).toString();
        return null;
    }
1111931
protected String getText() {
        String text = null;

        // Try to find a text component in the spinner
        JTextComponent textEditorComponent;
        if (spinner.getEditor() instanceof JTextComponent) {
            textEditorComponent = (JTextComponent) spinner.getEditor();
        } else if (spinner.getEditor() instanceof JSpinner.DefaultEditor) {
            textEditorComponent = ((JSpinner.DefaultEditor) spinner.getEditor()).getTextField();
        } else {
            LOGGER.error("No text component can be found in the spinner to get the text: " + spinner);
            textEditorComponent = null;
        }

        // Read text from text component
        if (textEditorComponent != null) {
            text = textEditorComponent.getText();
        }

        return text;
    }
1030183
public String getAsText() {
        Enum<?> value = (Enum<?>) getValue();
        if (value == null) {
            return "";
        }

        String text = getMessagesAccessor().getMessage(messagesKeyPrefix + value.name(), (String) null);
        if (text == null) {
            return value.toString();
        } else {
            return text;
        }
    }
755060
private String getString() throws MtasParserException {
    String text = null;
    BufferedReader bufferedReader = new BufferedReader(reader, 2048);
    try {
      text = IOUtils.toString(bufferedReader);
      bufferedReader.close();
      return text;
    } catch (IOException e) {
      log.debug(e);
      throw new MtasParserException("couldn't read text");
    }
  }
244400
public String process(String text){
		String ret = text;
		
		//Pipeline
		ret = convertor.convert(ret);
		ret = senSegment(ret);
		ret = senTokenize(ret);
		ret = wordSegment(ret);
		ret = postProcessing(ret);
		ret = posTagging(ret);
		return ret;
	}
403826
public CAS process(String text) {
        CAS cas = retrieve();
        if (cas == null)
            return null;

        cas.setDocumentText(text);
        try {
            analysisEngine.process(cas);
        } catch (AnalysisEngineProcessException e) {
            log.warn("Unable to process text " + text, e);
        }

        return cas;


    }
255791
public String getTextDecorationString()
    {
        if (textDecoration.isEmpty())
            return "none";
        else
        {
            StringBuilder ret = new StringBuilder();
            for (CSSProperty.TextDecoration dec : textDecoration)
            {
                if (ret.length() > 0)
                    ret.append(' ');
                ret.append(dec.toString());
            }
            return ret.toString();
        }
    }
868538
public String getString()
    {
        String string = super.getString();
        int iIndent = (int)m_convIndent.getValue();
        string = gstrSpaces.substring(0, iIndent * m_iIndentAmount) + string;
        return string;
    }
887028
public static final String property(String text)
    {
        CamelSpliterator cs = new CamelSpliterator(text);
        StringBuilder sb = new StringBuilder();
        cs.tryAdvance((s)->sb.append(lower(s)));
        StreamSupport.stream(cs, false).forEach((s)->sb.append(s));
        return sb.toString();
    }
744179
public String asText() {
    StringBuilder b = new StringBuilder();

    for (Element child : children) {
      b.append(child.asText());
    }

    return b.toString();
  }
81257
public String getText()
   {
      
     //convert textable to map of text
	   Object key = null;
      try 
      {
    	  //read bindTemplate
          String bindTemplate = getTemplate();
         Map<Object,String> textMap = new Hashtable<Object,String>();
    
         for(Map.Entry<String, Textable> entry: map.entrySet())
         {
            key = entry.getKey();
            try
			{
				//convert to text
				textMap.put(key,(entry.getValue()).getText());
			}
			catch (Exception e)
			{
				throw new SystemException("Unable to build text for key:"+key+" error:"+e.getMessage(),e);
			}         
         }
         
         Debugger.println(this, "bindTemplate="+bindTemplate);
         String formattedOutput = Text.format(bindTemplate, textMap);
         Debugger.println(this, "formattedOutput="+formattedOutput);
         return formattedOutput;
         
      } 
      catch (RuntimeException e) 
      {
         throw e;
      }
      catch (Exception e) 
      {
         throw new SetupException(e.getMessage(),e);
      }
   }
1276800
public String text() {
        if (!element.is().present()) {
            return null;
        }
        WebElement webElement = element.getWebElement();
        return webElement.getText();
    }
668063
public StringExpression asText() {
        if (text == null) {
            text = Expressions.stringOperation(SpatialOps.AS_TEXT, mixin);
        }
        return text;
    }
633286
@Override
	public String getValueAsString() {
		String dateValue = getValue();
		return dateValue == null ? getText() : dateValue;
	}
518744
private String getDocumentText()
    {
        try
        {
            Document document = textComponent.getDocument();
            String text = document.getText(0, document.getLength());
            return text;
        }
        catch (BadLocationException e)
        {
            logger.warning(e.toString());
            return textComponent.getText();
        }
    }