1 /* 2 * Copyright 2001-2004 The Apache Software Foundation. 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 17 18 package org.apache.axis.encoding; 19 20 import java.io.Serializable; 21 22 /** 23 * This interface describes the AXIS TypeMappingRegistry. 24 */ 25 public interface TypeMappingRegistry 26 extends javax.xml.rpc.encoding.TypeMappingRegistry, Serializable { 27 /** 28 * delegate 29 * 30 * Changes the contained type mappings to delegate to 31 * their corresponding types in the secondary TMR. 32 */ 33 public void delegate(TypeMappingRegistry secondaryTMR); 34 35 /** 36 * Obtain a type mapping for the given encoding style. If no specific 37 * mapping exists for this encoding style, we will create and register 38 * one before returning it. 39 * 40 * @param encodingStyle 41 * @return a registered TypeMapping for the given encoding style 42 */ 43 public TypeMapping getOrMakeTypeMapping(String encodingStyle); 44 } 45 46 47