1. /*
  2. * @(#)GenericTaggedComponent.java 1.7 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. //Source file: G:/space/ws/ServerActivation/src/share/classes/com.sun.corba.se.internal.ior/GenericTaggedComponent.java
  8. package com.sun.corba.se.internal.ior;
  9. import org.omg.CORBA.ORB ;
  10. import org.omg.CORBA_2_3.portable.InputStream ;
  11. import org.omg.CORBA_2_3.portable.OutputStream ;
  12. import com.sun.corba.se.internal.core.GIOPVersion ;
  13. /**
  14. * @author
  15. */
  16. public class GenericTaggedComponent extends GenericIdEncapsulation
  17. implements TaggedComponent
  18. {
  19. public GenericTaggedComponent( int id, InputStream is )
  20. {
  21. super( id, is ) ;
  22. }
  23. public GenericTaggedComponent( int id, byte[] data )
  24. {
  25. super( id, data ) ;
  26. }
  27. /**
  28. * @return org.omg.IOP.TaggedComponent
  29. * @exception
  30. * @author
  31. * @roseuid 3980B6A50196
  32. */
  33. public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
  34. {
  35. return new org.omg.IOP.TaggedComponent( getId(),
  36. getData() ) ;
  37. }
  38. }