You are here

CategoryNode Object API

The CategoryNode objects returned from the classification object methods are extended from the standard JavaScript ScriptNode model.

Properties

isCategory
Returns true if this is a category node, or false otherwise. This is supported by all nodes types.
categoryMembers
Gets an array of all the members of this category at any depth
subCategories
Gets an array of all the subcategories of this category at any depth
membersAndSubCategories
Gets an array of all the subcategories and members of this category at any depth
immediateCategoryMembers
Gets an array of all the immediate members of this category (only direct members of this category and not through sub categories).
immediateSubCategories
Gets an array of all the immediate subcategories of this category (only direct subcategories of this category and not through subcategories)
immediateMembersAndSubCategories
Gets an array of all the immediate subcategories and members of this category (only direct subcategories and members of this category and not through subcategories)