2
* Copyright 2002-2004 The Apache Software Foundation.
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
8
* http://www.apache.org/licenses/LICENSE-2.0
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
17
package org.apache.axis.encoding.ser.castor;
19
import org.apache.axis.encoding.ser.BaseSerializerFactory;
20
import org.apache.axis.encoding.SerializerFactory;
22
import javax.xml.namespace.QName;
25
* SerializerFactory for Castor objects
27
* @author Olivier Brand (olivier.brand@vodafone.com)
29
public class CastorSerializerFactory extends BaseSerializerFactory {
30
public CastorSerializerFactory(Class javaType, QName xmlType) {
31
super(CastorSerializer.class, xmlType, javaType);
33
public static SerializerFactory create(Class javaType, QName xmlType) {
34
return new CastorSerializerFactory(javaType, xmlType);