Example usage for org.dom4j Element node

List of usage examples for org.dom4j Element node

Introduction

In this page you can find the example usage for org.dom4j Element node.

Prototype

Node node(int index) throws IndexOutOfBoundsException;

Source Link

Document

Returns the Node at the specified index position.

Usage

From source file:wowhead_itemreader.WoWHeadData.java

License:Open Source License

private void parseXML(Element n) throws Exception {
    addToEngine(n);/*from  w w w  .  j a v a  2 s  .c  o  m*/
    for (int i = 0; i < n.nodeCount(); i++) {
        Node node = n.node(i);
        if (node instanceof Element) {
            parseXML((Element) node);
        }
    }
}