Example usage for org.dom4j Node getDocument

List of usage examples for org.dom4j Node getDocument

Introduction

In this page you can find the example usage for org.dom4j Node getDocument.

Prototype

Document getDocument();

Source Link

Document

getDocument returns the Document that this Node is part of if this node supports the parent relationship.

Usage

From source file:org.withinsea.izayoi.cortile.core.compile.dom.DOMCompiler.java

License:Mozilla Public License

protected boolean isDetached(Node node) {
    return (node.getParent() == null && node.getDocument() == null);
}