Java XML Attribute Get getAttrValuesByName(Element ele, String attributeName)

Here you can find the source of getAttrValuesByName(Element ele, String attributeName)

Description

get Attr Values By Name

License

Open Source License

Declaration

public static String getAttrValuesByName(Element ele, String attributeName) 

Method Source Code


//package com.java2s;

import org.w3c.dom.*;

public class Main {

    public static String getAttrValuesByName(Element ele, String attributeName) {

        return ele.getAttribute(attributeName);
    }//from  www.j a  va2  s .  c o m
}

Related

  1. getAttrString(Element elem, String localName)
  2. getAttrVal(final NamedNodeMap nnm, final String name)
  3. getAttrValue(NamedNodeMap attrs, String attrName)
  4. getAttrvalue(Node item, String name, boolean ignoreNs)
  5. getAttrValue(Node n, String name)
  6. getBeanclassAttribute(Node node)
  7. getBool(Element el, String attrName, boolean defaultValue)
  8. getBoolAttribute(NamedNodeMap namedNodeMap, String name)
  9. getBoolAttribute(Node node, String attr)