public ICalComponentScribe < ? extends ICalComponent > getComponentScribe ( ICalComponent component ) { if ( component instanceof RawComponent ) { RawComponent raw = ( RawComponent ) component ; return new RawComponentScribe ( raw . getName ( ) ) ; } return getComponentScribe ( component . getClass ( ) ) ; }
Gets the appropriate component scribe for a given component instance .