1 /*2 * @(#)RepositoryIdStrings.java 1.5 03/12/193 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 8 package com.sun.corba.se.impl.orbutil;9 10 import java.io.Serializable ;11 import com.sun.corba.se.impl.io.TypeMismatchException;12 13 /**14 * Factory methods for creating various repository ID strings15 * and instances.16 */17 public interface RepositoryIdStrings18 {19 String createForAnyType(Class type);20 21 String createForJavaType(Serializable ser)22 throws TypeMismatchException;23 24 String createForJavaType(Class clz)25 throws TypeMismatchException;26 27 String createSequenceRepID(java.lang.Object ser);28 29 String createSequenceRepID(java.lang.Class clazz);30 31 RepositoryIdInterface getFromString(String repIdString);32 33 String getClassDescValueRepId();34 String getWStringValueRepId();35 }36