|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.importexport.xmlimport.DelegatingObjectPersisterFactory
public class DelegatingObjectPersisterFactory
Factory to provide the correct ObjectPersister
for a given ImportedObject
. Guarantees not to return
null from createPersisterFor(com.atlassian.confluence.importexport.xmlimport.model.ImportedObject)
. Delegates
to a list of factories to create type-specific persisters.
Constructor Summary | |
---|---|
DelegatingObjectPersisterFactory(java.util.List<ObjectPersisterFactory> delegateFactories,
ObjectPersisterFactory defaultFactory)
|
Method Summary | |
---|---|
ObjectPersister |
createPersisterFor(ImportedObject importedObject)
Creates a new persister for the given ImportedObject . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatingObjectPersisterFactory(java.util.List<ObjectPersisterFactory> delegateFactories, ObjectPersisterFactory defaultFactory)
Method Detail |
---|
public ObjectPersister createPersisterFor(ImportedObject importedObject)
ObjectPersisterFactory
ImportedObject
.
createPersisterFor
in interface ObjectPersisterFactory
importedObject
- the object to persist.
ObjectPersister
, or null if none could be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |