public function unserializeContentClassAttribute( $classAttribute, $attributeNode, $attributeParametersNode )
    {
        /** @var $domNodes DOMNodeList */
        $subTreeLimit = 0;
        $domNodes = $attributeParametersNode->getElementsByTagName( 'subtree-limit' );
        if ( $domNodes->length > 0 )
            $subTreeLimit = (int) $domNodes->item( 0 )->textContent;

        $maxTags = 0;
        $domNodes = $attributeParametersNode->getElementsByTagName( 'max-tags' );
        if ( $domNodes->length > 0 )
            $maxTags = (int) $domNodes->item( 0 )->textContent;

        $hideRootTag = 0;
        $domNodes = $attributeParametersNode->getElementsByTagName( 'hide-root-tag' );
        if ( $domNodes->length > 0 && $domNodes->item( 0 )->textContent === 'true' )
            $hideRootTag = 1;

        $editView = self::EDIT_VIEW_DEFAULT_VALUE;
        $domNodes = $attributeParametersNode->getElementsByTagName( 'edit-view' );
        if ( $domNodes->length > 0 )
        {
            $domNodeContent = trim( $domNodes->item( 0 )->textContent );
            if ( !empty( $domNodeContent ) )
            {
                $editView = $domNodeContent;
            }
        }

        $classAttribute->setAttribute( self::SUBTREE_LIMIT_FIELD, $subTreeLimit );
        $classAttribute->setAttribute( self::MAX_TAGS_FIELD, $maxTags );
        $classAttribute->setAttribute( self::HIDE_ROOT_TAG_FIELD, $hideRootTag );
        $classAttribute->setAttribute( self::EDIT_VIEW_FIELD, $editView );
    }