FileDocCategorySizeDatePackage
CodeSetsComponentImpl.javaAPI DocJava SE 5 API1998Fri Aug 26 14:54:24 BST 2005com.sun.corba.se.impl.ior.iiop

CodeSetsComponentImpl

public class CodeSetsComponentImpl extends com.sun.corba.se.spi.ior.TaggedComponentBase implements com.sun.corba.se.spi.ior.iiop.CodeSetsComponent
author

Fields Summary
com.sun.corba.se.impl.encoding.CodeSetComponentInfo
csci
Constructors Summary
public CodeSetsComponentImpl()

        // Uses our default code sets (see CodeSetComponentInfo)
	csci = new CodeSetComponentInfo() ;
    
public CodeSetsComponentImpl(org.omg.CORBA_2_3.portable.InputStream is)

	csci = new CodeSetComponentInfo() ;
	csci.read( (MarshalInputStream)is ) ;
    
public CodeSetsComponentImpl(com.sun.corba.se.spi.orb.ORB orb)

        if (orb == null)
            csci = new CodeSetComponentInfo();
        else
            csci = orb.getORBData().getCodeSetComponentInfo();
    
Methods Summary
public booleanequals(java.lang.Object obj)

	if (!(obj instanceof CodeSetsComponentImpl)) 
	    return false ;

	CodeSetsComponentImpl other = (CodeSetsComponentImpl)obj ;

	return csci.equals( other.csci ) ;
    
public com.sun.corba.se.impl.encoding.CodeSetComponentInfogetCodeSetComponentInfo()

	return csci ;
    
public intgetId()

	return TAG_CODE_SETS.value ; // 1 in CORBA 2.3.1 13.6.3
    
public inthashCode()

	return csci.hashCode() ;
    
public java.lang.StringtoString()

	
	return "CodeSetsComponentImpl[csci=" + csci + "]" ;
    
public voidwriteContents(org.omg.CORBA_2_3.portable.OutputStream os)

	csci.write( (MarshalOutputStream)os ) ;