 
     /**
      *  @private
-     *  An Array of the names of all text attributes, in no particular order.
+     *  An Array of the names of all text formats, in no particular order.
      */
-    public static var ALL_ATTRIBUTE_NAMES:Array = [];
+    public static var ALL_FORMAT_NAMES:Array = [];
 
     /**
      *  @private


import flash.utils.describeType;

import text.model.ICharacterAttributes;
import text.model.IContainerAttributes;
import text.model.IParagraphAttributes;
import text.model.LeafElement;
import text.model.Paragraph;
import text.model.TextFlow;


    /**
     *  @private
     *  Initializes the FORMAT_MAP by using describeType()
     *  to enumerate the properties of the IContainerFormat,
     *  IParagraphFormat, and ICharacterFormat interfaces.
     */
    private static function initClass():void
    {
        var type:XML;
        var name:String;

        type = describeType(IContainerFormat);
        for each (name in type.factory.accessor.@name)
        {
            ALL_FORMAT_NAMES.push(name);
            FORMAT_MAP[name] = CONTAINER;
        }
        
        type = describeType(IParagraphFormat);
        for each (name in type.factory.accessor.@name)
        {
            ALL_FORMAT_NAMES.push(name);
            FORMAT_MAP[name] = PARAGRAPH;
        }
       
        type = describeType(ICharacterFormat);
        for each (name in type.factory.accessor.@name)
        {
            ALL_FORMAT_NAMES.push(name);
            FORMAT_MAP[name] = CHARACTER;
        }
    }

