Java XML Child Get by Name getChildByTagName(Element element, String childElementName)

Here you can find the source of getChildByTagName(Element element, String childElementName)

Description

get Child By Tag Name

License

Open Source License

Declaration

public static Element getChildByTagName(Element element, String childElementName) 

Method Source Code

//package com.java2s;
/*//from   www  .ja  v a2  s. c o m
 * This file is part of Dorado 7.x (http://dorado7.bsdn.org).
 * 
 * Copyright (c) 2002-2012 BSTEK Corp. All rights reserved.
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * and BSDN commercial (http://www.bsdn.org/licenses) licenses.
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at http://www.bstek.com/contact.
 */

import org.w3c.dom.Element;

public class Main {

    public static Element getChildByTagName(Element element, String childElementName) {
        return org.springframework.util.xml.DomUtils.getChildElementByTagName(element, childElementName);
    }
}

Related

  1. getChildByName(Node node, String name)
  2. getChildByName(Node node, String name)
  3. getChildByName(Node node, String name)
  4. getChildByName(Node node, String nodeName)
  5. getChildByTagName(Element e, String name)
  6. getChildByTagName(Element element, String tag)
  7. getChildByTagName(Element element, String tagName)
  8. getChildByTagName(Node parent, String tagname)
  9. getChildData(Element e, String tag)