public abstract class AbstractProfileFactoryProvider extends AbstractToolkitProvider
ProfileFactory
.Modifier and Type | Class and Description |
---|---|
protected class |
AbstractProfileFactoryProvider.DefaultProfileFactory |
tkClass_
Modifier | Constructor and Description |
---|---|
protected |
AbstractProfileFactoryProvider() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
canCreate(ToolkitContext tkContext,
Cookie cookie)
Check quickly if a
Profile of given type can be constructed. |
AbstractToolkitBuilder |
create(ToolkitContext tkContext) |
protected abstract Profile |
createProfile(java.lang.String name,
Cookie cookie)
Called to create a Profile of type
profileClass . |
protected Toolkit |
createProfileFactory(Cookie cookie) |
buildDelegate, create, getToolkitClass, recognize
public AbstractToolkitBuilder create(ToolkitContext tkContext)
create
in interface ToolkitProvider
create
in class AbstractToolkitProvider
protected abstract boolean canCreate(ToolkitContext tkContext, Cookie cookie)
Profile
of given type can be constructed.
If yes, return non-null value.profileClass
- dataContainer
- tkContext
- cookie
- a temporary map that can be used to store intermediate
results. This will be passed to createProfile(...)
and discarded
when the factory is released.