Lines Matching refs:factory
51 SerializerFactory factory;
57 // any factory specified in the properties file and supporting
58 // the same method will override the default factory.
59 factory = new SerializerFactoryImpl( Method.XML );
60 registerSerializerFactory( factory );
61 factory = new SerializerFactoryImpl( Method.HTML );
62 registerSerializerFactory( factory );
63 factory = new SerializerFactoryImpl( Method.XHTML );
64 registerSerializerFactory( factory );
65 factory = new SerializerFactoryImpl( Method.TEXT );
66 registerSerializerFactory( factory );
74 factory = (SerializerFactory) ObjectFactory.newInstance( className, true);
75 if ( _factories.containsKey( factory.getSupportedMethod() ) )
76 _factories.put( factory.getSupportedMethod(), factory );
84 * Register a serializer factory, keyed by the given
87 public static void registerSerializerFactory( SerializerFactory factory )
92 method = factory.getSupportedMethod();
93 _factories.put( method, factory );
99 * Register a serializer factory, keyed by the given
109 * Returns the method supported by this factory and used to register
110 * the factory. This call is required so factories can be added from