private void parseNesting ( Configuration configuration , Document dc ) { NodeList list = dc . getElementsByTagNameNS ( SCHEMA_LOCATION , TAG_NESTING ) ; if ( list . getLength ( ) > 0 ) { Node el = list . item ( 0 ) ; configuration . setNestingLimit ( nodeAttribute ( el , TAG_NESTING_ATTR_LIMIT , Configuration . DEFAULT_NESTING_LIMIT ) ) ; configuration . setPropagateNestingException ( nodeAttribute ( el , TAG_NESTING_ATTR_EXCEPTION , Configuration . DEFAULT_PROPAGATE_NESTING_EXCEPTION ) ) ; } }
Parse nesting element which describes nesting behavior .