public int getMaximumDepth() {
        return maxDepth;
    }
Returns the maximum XML element nesting level.

@return maximum XML element nesting level
tika-core/src/main/java/org/apache/tika/sax/SecureContentHandler.java