Get MBean attribute specified by name.  If it is just a plain attribute
 then unwrap the attribute and just return the value.
421226
def [](name)
      attribute = @server.getAttribute(@object_name, name.to_s)
      return attribute.value if attribute.kind_of? javax.management.Attribute
      attribute
    end
69364
public String getValue(String name)
  {
    Attr attr = ((Attr) m_attrs.getNamedItem(name));
    return (null != attr) 
          ? attr.getValue() : null;
  }
403958
def get_attribute(name)
#            puts "get_attribute #{name}"
# Check if this arg is already converted
      name_s = name.to_s
      name = name.to_sym
      att_meta = get_att_meta(name)
#            puts "att_meta for #{name}: " + att_meta.inspect
      if att_meta && att_meta.type == :clob
        ret = @lobs[name]
#                puts 'get_attribute clob ' + ret.inspect
        if ret
          if ret.is_a? RemoteNil
            return nil
          else
            return ret
          end
        end
# get it from s3
        unless new_record?
          if self.class.get_sr_config[:single_clob]
            begin
              single_clob = s3_bucket(false, :s3_bucket=>:new).get(single_clob_id)
              single_clob = JSON.parse(single_clob)
#                            puts "single_clob=" + single_clob.inspect
              single_clob.each_pair do |name2, val|
                @lobs[name2.to_sym] = val
              end
              ret = @lobs[name]
              SimpleRecord.stats.s3_gets += 1
            rescue Aws::AwsError => ex
              if ex.include?(/NoSuchKey/) || ex.include?(/NoSuchBucket/)
                ret = nil
              else
                raise ex
              end
            end
          else
            begin
              ret = s3_bucket.get(s3_lob_id(name))
                # puts 'got from s3 ' + ret.inspect
              SimpleRecord.stats.s3_gets += 1
            rescue Aws::AwsError => ex
              if ex.include?(/NoSuchKey/) || ex.include?(/NoSuchBucket/)
                ret = nil
              else
                raise ex
              end
            end
          end

          if ret.nil?
            ret = RemoteNil.new
          end
        end
        @lobs[name] = ret
        return nil if ret.is_a? RemoteNil
        return ret
      else
        @attributes_rb = {} unless @attributes_rb # was getting errors after upgrade.
        ret = @attributes_rb[name_s] # instance_variable_get(instance_var)
        return ret unless ret.nil?
        return nil if ret.is_a? RemoteNil
        ret = get_attribute_sdb(name)
                                                  #                p ret
        ret = sdb_to_ruby(name, ret)
                                                  #                p ret
        @attributes_rb[name_s] = ret
        return ret
      end

    end
776593
public String getAttributeValue(final String name) {
        final List<Attribute> attributes = Collections.synchronizedList(getAttributes());
        for (int i = 0; i < attributes.size(); i++) {
            final Attribute a = attributes.get(i);

            if (a.getName() != null && a.getName().equals(name)) {
                return a.getValue();
            }
        }
        return null;
    }
195139
public GeneralNames get(String name) throws IOException {
        if (name.equalsIgnoreCase(ISSUER_NAME)) {
            return (names);
        } else {
          throw new IOException("Attribute name not recognized by " +
                        "CertAttrSet:IssuerAlternativeName.");
        }
    }
556171
def get_attribute_by_name(el, name, default=None):
        """"""

        value = default
        if el._is_xml:
            try:
                value = el.attrs[name]
            except KeyError:
                pass
        else:
            for k, v in el.attrs.items():
                if util.lower(k) == name:
                    value = v
                    break
        return value
29736
public String getAttributeValue(String name) {
        Attr att = node.getAttributeNode(name);
        if (att == null) return null;
        return att.getNodeValue();
    }
630367
public Object getAttribute(ObjectName name, String attributeName) throws Exception {
		checkClientConnected();
		return mbeanConn.getAttribute(name, attributeName);
	}
993249
public Object getAttribute(String attrName) {
        Lock lock = lockForRead();
        try {
            return attributes != null ? attributes.get(attrName) : null;
        } finally {
            lock.unlock();
        }
    }
478663
public Integer get(String name) throws IOException {
        if (name.equalsIgnoreCase(SKIP_CERTS))
            return (new Integer(skipCerts));
        else
            throw new IOException("Attribute name not recognized by " +
                                  "CertAttrSet:InhibitAnyPolicy.");
    }
18134
public Object get(String name) throws IOException {
        if (name.equalsIgnoreCase(IS_CA)) {
            return (Boolean.valueOf(ca));
        } else if (name.equalsIgnoreCase(PATH_LEN)) {
            return (Integer.valueOf(pathLen));
        } else {
          throw new IOException("Attribute name not recognized by " +
                                "CertAttrSet:BasicConstraints.");
        }
    }
323009
public GeneralNames get(String name) throws IOException {
        if (name.equalsIgnoreCase(ISSUER)) {
            return names;
        } else {
            throw new IOException("Attribute name not recognized by " +
                "CertAttrSet:CertificateIssuer");
        }
    }
1245136
@SuppressWarnings("unchecked")
    public <T> T attribute(String name) {
        return (T) session.getAttribute(name);
    }
613337
Object getAttribute(String name)
    {
        if (attributes.containsKey(name))
            return attributes.get(name);
        return noStroke.get(name);
    }
120317
public String getAttribute(String attributeName) {
		if (attributeName != null){
			return this.attributes.get(attributeName);
		}
		
		return null;
	}
960916
public SerialNumber get(String name) throws IOException {
        if (name.equalsIgnoreCase(NUMBER)) {
            return (serial);
        } else {
            throw new IOException("Attribute name not recognized by " +
                                "CertAttrSet:CertificateSerialNumber.");
        }
    }
97784
private AttributeValue extractValueFor(String name) throws AttributeException {
		final AttributeValue value;
		if (this.cache.containsKey(name)) {
			value = this.cache.get(name);
		} else {
			value = loadValue(name);
			this.cache.put(name, value);
		}
		return value;
	}