Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ExampleCategory

API 1.18

An ExampleCategory represents a named group of bundled example files. Instances are returned by Application.getExamples() and are read-only. A category may contain documents (.xlogic, .xlogict), domain files (.xlogicd), or both — check documents and domains separately, as some categories (such as "Project Management") contain only domain files.

Fields

FieldTypeDescription
namestringRead only. The display name of this category.
documentslist of ExampleEntryRead only. The example documents (.xlogic, .xlogict) in this category, in display order. May be empty if the category contains only domains.
domainslist of ExampleEntryRead only. The domain files (.xlogicd) in this category, in display order. May be empty if the category contains only documents.