Example usage for org.dom4j.bean BeanDocumentFactory getInstance

List of usage examples for org.dom4j.bean BeanDocumentFactory getInstance

Introduction

In this page you can find the example usage for org.dom4j.bean BeanDocumentFactory getInstance.

Prototype

public static DocumentFactory getInstance() 

Source Link

Document

Access to the singleton instance of this factory.

Usage

From source file:org.dom4j.samples.bean.BeanDemo.java

License:Open Source License

protected Document parse(String url) throws Exception {
    SAXReader reader = new SAXReader(BeanDocumentFactory.getInstance());
    return reader.read(url);
}