createParticipant( session, parent, component );
CvFeatureType parent = (CvFeatureType) iterator.next(); if ( isTaggedFeature( parent ) ) {
/** * Gives the right version of the Psi XML generator according to the user's session * * @param session the user session that will indicate which version of the Psi generator is required * * @return */ public static Component2xmlI getInstance( UserSessionDownload session ) { if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) { return Component2xmlPSI1.getInstance(); } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) { return Component2xmlPSI2.getInstance(); } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) { return Component2xmlPSI25.getInstance(); } else { throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() ); } } }
element.setAttribute( "id", getParticipantId( session, component ) );
/** * Gives the right version of the Psi XML generator according to the user's session * * @param session the user session that will indicate which version of the Psi generator is required * * @return */ public static Component2xmlI getInstance( UserSessionDownload session ) { if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) { return Component2xmlPSI1.getInstance(); } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) { return Component2xmlPSI2.getInstance(); } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) { return Component2xmlPSI25.getInstance(); } else { throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() ); } } }
element.setAttribute( "id", getParticipantId( session, component ) );
CvFeatureType parent = (CvFeatureType) iterator.next(); if ( isTaggedFeature( parent ) ) {
/** * Gives the right version of the Psi XML generator according to the user's session * * @param session the user session that will indicate which version of the Psi generator is required * * @return */ public static Component2xmlI getInstance( UserSessionDownload session ) { if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) { return Component2xmlPSI1.getInstance(); } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) { return Component2xmlPSI2.getInstance(); } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) { return Component2xmlPSI25.getInstance(); } else { throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() ); } } }
createParticipant( session, parent, component );
element.setAttribute( "id", getParticipantId( session, component ) );
CvFeatureType parent = (CvFeatureType) iterator.next(); if ( isTaggedFeature( parent ) ) {
createParticipant( session, parent, component );
if( isTaggedFeature( feature.getCvFeatureType() ) ) {
if( isTaggedFeature( feature.getCvFeatureType() ) ) {
if( isTaggedFeature( feature.getCvFeatureType() ) ) {