Example usage for org.dom4j.io XPPReader read

List of usage examples for org.dom4j.io XPPReader read

Introduction

In this page you can find the example usage for org.dom4j.io XPPReader read.

Prototype

public Document read(char[] text) throws DocumentException, IOException, XmlPullParserException 

Source Link

Document

Reads a Document from the given array of characters

Usage

From source file:org.dom4j.samples.PullParserDemo.java

License:Open Source License

protected Document parse(String xmlFile) throws Exception {
    XPPReader reader = new XPPReader();
    return reader.read(xmlFile);
}