com.atlassian.confluence.importexport.xmlimport
Class DefaultObjectPersisterFactory
java.lang.Object
com.atlassian.confluence.importexport.xmlimport.DefaultObjectPersisterFactory
- All Implemented Interfaces:
- ObjectPersisterFactory
public class DefaultObjectPersisterFactory
- extends Object
- implements ObjectPersisterFactory
Factory to provide the correct ObjectPersister
for a given ImportedObject
. Currently the
implementation is trivial as there are only two special cases where the non-default persister is used,
but as more class-specific persisters are added this may change.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultObjectPersisterFactory
public DefaultObjectPersisterFactory(LabelManager labelManager)
getPersisterFor
public ObjectPersister getPersisterFor(ImportedObject importedObject)
- Specified by:
getPersisterFor
in interface ObjectPersisterFactory