Returns the TextFSMValue object natching the requested name.
5017
def _GetValue(self, name):
    """"""
    for value in self.values:
      if value.name == name:
        return value
88957
private String getAntScriptValue() {
		String antScriptText= fAntScriptNamesCombo.getText().trim();
		if (antScriptText.indexOf('.') < 0)
			antScriptText+= "." + ANTSCRIPT_EXTENSION; //$NON-NLS-1$
		return antScriptText;
	}
208898
public String getAsShortText(int fieldValue, Locale locale) {
        return GJLocaleSymbols.forLocale(locale).dayOfWeekValueToShortText(fieldValue);
    }
1148430
public String getName() {
		if (name == null) {
			name = JKMessage.get(getJavaType().getSimpleName());
		}
		return name;
	}
1159014
public String getTermFullName() {
        if (termPrefix == null) {
            return termName;
        } else {
            if (termLocale == null) {
                return termPrefix.message + STRING_BLANK + termName;
            } else {
                final String key = "IndexTerm." + termPrefix.message.toLowerCase().trim().replace(' ', '-');
                final String msg = Messages.getString(key, termLocale);
                if (rtlLocaleList.contains(termLocale.toString())) {
                    return termName + STRING_BLANK + msg;
                } else {
                    return msg + STRING_BLANK + termName;
                }
            }
        }
    }
563752
function (x) {
        var name = kb.any(x, ns.vcard('fn')) ||
          kb.any(x, ns.foaf('name')) || kb.any(x, ns.vcard('organization-name'))
        return name ? name.value : '???'
      }
118477
private String value(String nameEqualsValue)
    {
        String value=nameEqualsValue.substring(nameEqualsValue.indexOf('=')+1).trim();
        int i=value.indexOf(';');
        if(i>0)
            value=value.substring(0,i);
        if(value.startsWith("\""))
        {
            value=value.substring(1,value.indexOf('"',1));
        }
        else
        {
            i=value.indexOf(' ');
            if(i>0)
                value=value.substring(0,i);
        }
        return value;
    }
786478
def getFullname(self):
        

        fn = self.getFirstname()
        mi = self.getMiddleinitial()
        md = self.getMiddlename()
        sn = self.getSurname()
        fullname = ""
        if fn or sn:
            if mi and md:
                fullname = "%s %s %s %s" % (
                    self.getFirstname(),
                    self.getMiddleinitial(),
                    self.getMiddlename(),
                    self.getSurname())
            elif mi:
                fullname = "%s %s %s" % (
                    self.getFirstname(),
                    self.getMiddleinitial(),
                    self.getSurname())
            elif md:
                fullname = "%s %s %s" % (
                    self.getFirstname(),
                    self.getMiddlename(),
                    self.getSurname())
            else:
                fullname = '%s %s' % (self.getFirstname(), self.getSurname())
        return fullname.strip()
826075
private String getNamespaceValue(final String value) {
        if (value == null || value.contains(":") || value.equals("text")) {
            return value;
        } else {
            return getCurrentNamespace() + ":" + value;
        }
    }
518324
private byte[] getUploadFileContent(RequestElements requestElements) throws FMSException {
		Attachable attachable = (Attachable) requestElements.getEntity();
		InputStream docContent = requestElements.getUploadRequestElements().getDocContent();
		
		// gets the mime value form the filename
		String mime = getMime(attachable.getFileName(), ".");
		// if null then gets the mime value from content-type of the file
		mime = (mime != null) ? mime : getMime(attachable.getContentType(), "/");
		if (isImageType(mime)) {
			return getImageContent(docContent, mime);
		} else {
			return getContent(docContent);
		}
	}
511590
def extract_message_value(self, name):
        '''  '''
        name += ":"
        assert(self._message)
        _start = self._message.find(name)
        if _start >= 0:
            _start += len(name) + 1
            _end = self._message.find("\n", _start)
            _value = self._message[_start:_end]
            return _value.strip()

        return None
737787
public String getValue(String name, String dflt) {
        Property prop = getProperty(name);
        return prop == null ? dflt : prop.getValue();
    }
1145005
String getFilename(TypeElement te, String fwk) {
		return getFilename(te.getSimpleName().toString(), fwk);
	}
25554
def getstr_data(self, name, vals):
        """"""
        fld2val = self.get_fld2val(name, vals)
        return self.fmt.format(**fld2val)
1142880
public String getNameAsSingleString() {
    List<StringType> nameParts = new ArrayList<StringType>();
    nameParts.addAll(getPrefix());
    nameParts.addAll(getGiven());
    nameParts.add(getFamilyElement());
    nameParts.addAll(getSuffix());
    if (nameParts.size() > 0) {
      return joinStringsSpaceSeparated(nameParts);
    } else {
      return getTextElement().getValue();
    }
  }
1220857
def __get_wbfmt_usrfld(self, data_nt):
        """'"""
        if self.ntfld_wbfmt is not None:
            if isinstance(self.ntfld_wbfmt, str):
                ntval = getattr(data_nt, self.ntfld_wbfmt, None) # Ex: 'section'
                if ntval is not None:
                    return self.fmtname2wbfmtobj.get(ntval, None)
501560
public float getTextRise() {
		if (attributes != null && attributes.containsKey(SUBSUPSCRIPT)) {
			Float f = (Float) attributes.get(SUBSUPSCRIPT);
			return f.floatValue();
		}
		return 0.0f;
	}