org.apache.jdo.impl.fostore
Class FOStoreTranscriberFactory
java.lang.Object
org.apache.jdo.impl.fostore.FOStoreTranscriberFactory
- All Implemented Interfaces:
- org.apache.jdo.store.TranscriberFactory
- class FOStoreTranscriberFactory
- extends java.lang.Object
- implements org.apache.jdo.store.TranscriberFactory
Provides Transcriber instances for FOStore. Note that only one instance of
any kind of transcriber is ever created.
- Author:
- Dave Bristor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
private static FOStoreTranscriberFactory instance
transcribers
private static java.util.HashMap transcribers
FOStoreTranscriberFactory
private FOStoreTranscriberFactory()
getInstance
static FOStoreTranscriberFactory getInstance()
getTranscriber
public org.apache.jdo.store.Transcriber[] getTranscriber(java.lang.Class cls)
- Provides a Transcriber for the given class. The result is an array, as
defined by the interface, but the return here always contains only one
Transcriber.
- Specified by:
getTranscriber
in interface org.apache.jdo.store.TranscriberFactory
- Parameters:
cls
- Class for which a Transcriber is needed.
- Returns:
- An array of transcribers; array will contain only one
Transcriber.