com.atlassian.confluence.importexport.xmlimport.persister
Class ReflectiveObjectPersisterFactory

java.lang.Object
  extended by com.atlassian.confluence.importexport.xmlimport.persister.ReflectiveObjectPersisterFactory
All Implemented Interfaces:
ObjectPersisterFactory

public class ReflectiveObjectPersisterFactory
extends Object
implements ObjectPersisterFactory

Creates an instance of ReflectiveObjectPersister. Guarantees not to return null from createPersisterFor(com.atlassian.confluence.importexport.xmlimport.model.ImportedObject).


Constructor Summary
ReflectiveObjectPersisterFactory(LabelManager labelManager)
           
 
Method Summary
 ReflectiveObjectPersister 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

ReflectiveObjectPersisterFactory

public ReflectiveObjectPersisterFactory(LabelManager labelManager)
Method Detail

createPersisterFor

public ReflectiveObjectPersister createPersisterFor(ImportedObject importedObject)
Description copied from interface: ObjectPersisterFactory
Creates a new persister for the given ImportedObject.

Specified by:
createPersisterFor in interface ObjectPersisterFactory
Parameters:
importedObject - the object to persist.
Returns:
the matching ObjectPersister, or null if none could be found.


Copyright © 2003-2012 Atlassian. All Rights Reserved.