public interface Factory
A Factory
creates an object without using an input parameter.
If an input parameter is required, then Transformer
is more appropriate.
Standard implementations of common factories are provided by
FactoryUtils
. These include factories that return a constant,
a copy of a prototype or a new instance.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
create()
Create a new object.
|
java.lang.Object create()
FunctorException
- (runtime) if the factory cannot create an object"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"