Example usage for org.dom4j DocumentFactory createNamespace

List of usage examples for org.dom4j DocumentFactory createNamespace

Introduction

In this page you can find the example usage for org.dom4j DocumentFactory createNamespace.

Prototype

public Namespace createNamespace(String prefix, String uri) 

Source Link

Usage

From source file:org.orbeon.oxf.xml.dom4j.Dom4jUtils.java

License:Open Source License

public static Namespace createNamespace(final String prefix, final String uri) {
    final DocumentFactory factory = NonLazyUserDataDocumentFactory.getInstance();
    return factory.createNamespace(prefix, uri);
}