Example usage for org.jdom2 Document getNamespacesInherited

List of usage examples for org.jdom2 Document getNamespacesInherited

Introduction

In this page you can find the example usage for org.jdom2 Document getNamespacesInherited.

Prototype

@Override
    public List<Namespace> getNamespacesInherited() 

Source Link

Usage

From source file:org.apache.marmotta.ucuenca.wk.provider.scopus.ScopusAuthorSearchProvider.java

License:Apache License

protected static List<Element> queryElements(Document n, String query) {
    return XPathFactory.instance().compile(query, new ElementFilter(), null, n.getNamespacesInherited())
            .evaluate(n);/*from   w w  w  .  j av  a 2s  .co m*/
}