/*
(non-Javadoc)
@see java.beans.PropertyEditorSupport#getAsText()
2884
public String getAsText() {
		Object theValue = getValue();
		if (theValue == null) {
			return null;
		}
		else {
			return ((DistinguishedName) theValue).toString();
		}
	}
100088
public String getAsText()
   {
      if (throwable != null)
         return throwable.toString();

      if (result != null)
      {
         try 
         {
            if (editor != null)
            {
               editor.setValue(result);
               return editor.getAsText();
            }
            else
            {
               return result.toString();
            }
         }
         catch (Exception e)
         {
            return "String representation of " + name + "unavailable";
         }
      }

      return null;
   }
238166
public MarkupText.SubText findToken(Pattern pattern) {
        String text = getText();
        Matcher m = pattern.matcher(text);

        if(m.find())
            return createSubText(m);

        return null;
    }
313890
public String getAsText() {

        Object value = getValue();
        if (value == null) {
            return "";
        }

        String propertyName = null; // used in error handling below
        try {
            StringBuffer label = new StringBuffer();

            for (int i = 0; i < properties.length; i++) {
                propertyName = properties[i];
                Class<?> propertyType = PropertyUtils.getPropertyType(value, propertyName);
                Object propertyValue = PropertyUtils.getNestedProperty(value, propertyName);
                PropertyEditor editor = registry.findCustomEditor(propertyType, registryPropertyNamePrefix + propertyName);
                if (editor == null) {
                    label.append(propertyValue);
                } else {
                    editor.setValue(propertyValue);
                    label.append(editor.getAsText());
                    editor.setValue(null);
                }
                
                if (i < (properties.length - 1)) {
                    label.append(separator);
                }
            }
            
            return label.toString();
            
        } catch (Exception e) {
            throw new IllegalArgumentException("Couldn't access " + propertyName + 
                    " of " + value.getClass().getName() + " : " +
                    e.getMessage(), e);
        }

    }
350794
@Override
    public String getFormattedMessage() {
        if (formattedMessage == null) {
            if (message == null) {
                message = getMessage(messagePattern, argArray, throwable);
            }
            formattedMessage = message.getFormattedMessage();
        }
        return formattedMessage;
    }
13071
public function getAsText() {
        $s = "";
        foreach($this->getChildren() as $child)
            $s .= $child->getAsText();
        return $s;
    }
743939
@Override
    public void setAsText(final String text) {
        if (BeanUtils.isNull(text)) {
            setValue(null);
            return;
        }
        Object newValue = Boolean.valueOf(text);
        setValue(newValue);
    }
304113
@Override
    public String getAsText() {
        Object reflectiveArray = getValue();
        if (reflectiveArray == null) {
            return null;
        }
        // generic interface.
        java.beans.PropertyEditor cellPropertyEditor = PropertyEditorFinder.getInstance().find(this.cellType);

        int length = Array.getLength(reflectiveArray);
        String[] cellStringValues = new String[length];

        for (int index = 0; index < length; index++) {
            Object cellValue = Array.get(reflectiveArray, index);
            cellPropertyEditor.setValue(cellValue);
            cellStringValues[index]=cellPropertyEditor.getAsText();
        }

        return encode(cellStringValues);
    }
456727
@Override
    public String getText() {
        String retType = AstToTextHelper.getClassText(returnType);
        String exceptionTypes = AstToTextHelper.getThrowsClauseText(exceptions);
        String parms = AstToTextHelper.getParametersText(parameters);
        return AstToTextHelper.getModifiersText(modifiers) + " " + retType + " " + name + "(" + parms + ") " + exceptionTypes + " { ... }";
    }
541361
protected String getTextEx(int position, int len)
    {
        try {
            return getDocument().getText(position, len);
        } catch (BadLocationException e) {
            e.printStackTrace();
            return "";
        }
    }
177949
public PropertyBuilder renderingAsTextarea() {
        if (this.type != Property.Type.String) {
            throw new IllegalStateException("stringRenderingTextarea can only be applied to a String property");
        }
        return renderingOption(StringRenderingConstants.DISPLAY_TYPE_KEY, StringRenderingConstants.DisplayType
                .MULTI_LINE);
    }
1096126
private JTextPane getTxtLicense() {
		if (txtLicense == null) {
			txtLicense = new JTextPane();
			txtLicense.setName("txtLicense");
			txtLicense.setEditable(false);
		}
		return txtLicense;
	}
217269
public String getAsText(int fieldValue, Locale locale) {
        return GJLocaleSymbols.forLocale(locale).dayOfWeekValueToText(fieldValue);
    }
1246191
private ZapTextField getTxtHeadline() {
        if (txtHeadline == null) {
            txtHeadline = new ZapTextField();
            txtHeadline.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED));
            txtHeadline.setEditable(false);
            txtHeadline.setEnabled(false);
            txtHeadline.setBackground(java.awt.Color.white);
            txtHeadline.setFont(FontUtils.getFont(Font.BOLD));
        }
        
        return txtHeadline;
    }
215416
public String getText() throws UnsupportedEncodingException {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getText");
    String text = null;
    try {
      text = (String)getPayload().getField(JmsTextBodyAccess.BODY_DATA_VALUE);
    }
    catch (MFPUnsupportedEncodingRuntimeException e) {
      FFDCFilter.processException(e, "com.ibm.ws.sib.mfp.impl.JsJmsTextMessageImpl.getText", "148");
      throw (UnsupportedEncodingException)e.getCause();
    }
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
      if ((text == null) || text.length() < 257) {
        SibTr.exit(this, tc, "getText", text);
      }
      else {
        SibTr.exit(this, tc, "getText", new Object[]{text.length(), text.substring(0,200)+"..."});
      }
    }
    return text;
  }
1138354
@Override
    public void setAsText(String text) throws IllegalArgumentException {
        if (BeanUtils.isNull(text)) {
            this.setValue(null);
            return;
        }
        // generic interface.
        java.beans.PropertyEditor cellPropertyEditor = PropertyEditorFinder.getInstance().find(this.cellType);

        String[] cellStringValues = tokenize(text);
        Object reflectiveArray = Array.newInstance(this.cellType, cellStringValues.length);
        for (int index = 0; index < cellStringValues.length; index++) {
            cellPropertyEditor.setAsText(cellStringValues[index]);
            Object cellValue = cellPropertyEditor.getValue();
            Array.set(reflectiveArray, index, cellValue);
        }
        this.setValue(reflectiveArray);

    }
330764
public void setAsText(String text) throws IllegalArgumentException {
        if (this.allowEmpty && !StringUtils.hasText(text)) {
            // Treat empty String as null value.
            setValue(null);
        } else {
            setValue(new LocalDate(this.formatter.parseDateTime(text)));
        }
    }