IStencil<T>
ReferencesDefines a somewhat mutable, fully allocated, strongly typed tree to be populated at leisure. In a way this interface acts as a TreeBuilder pattern, but it is not called TreeBuilder because the size of the tree it populates must be set at construction. Maybe at some point in the future a fully mutable builder pattern will be provided in the api.
Type parameters:
| T |
Properties
StencilAccess
Gets the access level for this stencil. Only those SetXXXX methods which are compatible with the access will work, the remainder will throw exceptions.
Methods
SetArray
Set all items, meta data and null flags at the specified coverage.
Parameters:
| twigIndex (int) | |
| items (Array) | |
| metas (MetaData[]) | |
| nulls (bool[]) |
SetArray
Set all items and meta data at the specified coverage.
Parameters:
| twigIndex (int) | |
| items (Array) | |
| metas (MetaData[]) |
SetArray
#Set all items, meta data and null flags at the specified coverage.
Parameters:
| twigIndex (int) | |
| items (T[]) | |
| metas (MetaData[]) | |
| nulls (bool[]) |
SetArray
#Set all items and meta data at the specified coverage.
Parameters:
| twigIndex (int) | |
| items (T[]) | |
| metas (MetaData[]) |
SetItem
Set the item and meta data values at the specified coverage site.
SetItem
Set the item value at the specified coverage site.
SetItem
#Set the item and meta data values at the specified coverage site.
SetItem
#Set the item value at the specified coverage site.
SetPear
Set the item, meta data and null values at the specified coverage site.
SetPear
#Set the item, meta data and null values at the specified coverage site.
SetTwig
#Set an entire twig at the specified coverage.