1 /* 2 * Copyright 2006 Werner Guttmann 3 * 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 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 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. 15 */ 16 package org.exolab.castor.xml; 17 18 /** 19 * Xerces-specific implementation of the {@link XMLSerializerFactory} interface. 20 * Returns Xerces-specific instances of the {@link Serializer} and 21 * {@link OutputFormat} interfaces. 22 * 23 * @author <a href="mailto:werner DOT guttmann AT gmx DOT net">Werner Guttmann</a> 24 * @version $Revision: 6216 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 25 * 2006) $ 26 */ 27 public class AIXXercesJDK5XMLSerializerFactory implements XMLSerializerFactory { 28 29 /** 30 * @see org.exolab.castor.xml.XMLSerializerFactory#getSerializer() 31 * {@inheritDoc} 32 */ 33 public Serializer getSerializer() { 34 return new AIXXercesJDK5Serializer(); 35 } 36 37 /** 38 * @see org.exolab.castor.xml.XMLSerializerFactory#getOutputFormat() 39 * {@inheritDoc} 40 */ 41 public OutputFormat getOutputFormat() { 42 return new XercesJDK5OutputFormat(); 43 } 44 }