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