Package org.ozoneDB.xml.dom

Examples of org.ozoneDB.xml.dom.DocumentProxy


    public static XMLContainer forNode( OzoneInterface _db, Node _pNode ) throws Exception {
        if (!(_pNode instanceof OzoneProxy)) {
            throw new IllegalArgumentException("Not a persistent DOM node: " + _pNode.getClass().getName());
        }

        DocumentProxy pDoc = _pNode instanceof Document
                ? (DocumentProxy)_pNode
                : (DocumentProxy)_pNode.getOwnerDocument();

        XMLContainerHelper helper = (XMLContainerHelper)pDoc.getContainer();
        return helper != null ? new XMLContainer( _db, helper ) : null;
    }
View Full Code Here

TOP

Related Classes of org.ozoneDB.xml.dom.DocumentProxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.