ComponentFactory
is the interface component factories that are to be accessed via the
module:caplin/component/ComponentFactory
should implement. Their alias in the alias xml definitions
should be grouped under the 'component' identifier. e.g. 'caplin.grid-component' would be used to specify
the GridComponentFactory
.Methods
-
createFromXml(sXml) → {module:caplin/component/Component}
-
Given an XML string representation of the component to be created it will create and return the component.
Parameters:
Name Type Description sXml
String The XML representation of the component to be constructed. Returns:
An instance of the component defined within the specified XML string.