@Override
    public void exportNode( Node node,
                            ContentHandler contentHandler,
                            boolean skipBinary,
                            boolean noRecurse ) throws RepositoryException, SAXException {
        exportNode(node, contentHandler, skipBinary, noRecurse, node.getDepth() == 0);
    }
@ Override public void exportNode ( Node node , ContentHandler contentHandler , boolean skipBinary , boolean noRecurse ) throws RepositoryException , SAXException { exportNode ( node , contentHandler , skipBinary , noRecurse , node . getDepth ( ) == 0 ) ; }
Exports <code>node</code> (or the subtree rooted at <code>node</code>) into an XML document by invoking SAX events on
<code>contentHandler</code>.

@param node the node which should be exported. If <code>noRecursion</code> was set to <code>false</code> in the
constructor, the entire subtree rooted at <code>node</code> will be exported.
@param contentHandler the SAX content handler for which SAX events will be invoked as the XML document is created.
@param skipBinary if <code>true</code>, indicates that binary properties should not be exported
@param noRecurse if<code>true</code>, indicates that only the given node should be exported, otherwise a recursive export
and not any of its child nodes.
@throws SAXException if an exception occurs during generation of the XML document
@throws RepositoryException if an exception occurs accessing the content repository