Class metawidget.inspector.CompositeInspector
Delegates inspection to one or more sub-inspectors, then combines the resulting metadata using metawidget.util.combineInspectionResults.
The combining algorithm should be suitable for most use cases, but one benefit of having a separate CompositeInspector is that developers can replace it with their own version, with its own combining algorithm, if required.
Note: the name CompositeInspector refers to the
Composite design pattern.
Defined in: metawidget-inspectors.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
inspect(toInspect, type, names)
|
Method Detail
inspect(toInspect, type, names)
- Parameters:
- toInspect
- type
- names