Declares that a class may act as a factory to provide formatter instances.
Either the name attribute must be populated with the name that this factory
will use in an XTemplate and the method getFormat will be called, or the
methods must indicate a name and a methodName to be invoked on the factory.