/** * Builds an empty PSI document of the specified version. * * @param session The user session that contains the requested PSI version. * * @return a XML Document representing an empty PSI document. */ public static Document buildPsiDocument( UserSessionDownload session ) { return buildPsiDocument( session, null ); }
public UserSessionDownload( PsiVersion psiVersion, Institution source ) { this.psiVersion = psiVersion; this.source = source; psiDocument = PsiDocumentFactory.buildPsiDocument( this, source ); }
/** * Builds an empty PSI document of the specified version. * * @param session The user session that contains the requested PSI version. * * @return a XML Document representing an empty PSI document. */ public static Document buildPsiDocument(UserSessionDownload session) { return buildPsiDocument(session, null); }
/** * Builds an empty PSI document of the specified version. * * @param session The user session that contains the requested PSI version. * * @return a XML Document representing an empty PSI document. */ public static Document buildPsiDocument( UserSessionDownload session ) { return buildPsiDocument( session, null ); }
public UserSessionDownload( PsiVersion psiVersion, Institution source ) { this.psiVersion = psiVersion; this.source = source; psiDocument = PsiDocumentFactory.buildPsiDocument( this, source ); }
/** * Return a PSI document. Create a new wmpty one if it doesn't exists yet. * * @return a PSI document. */ public Document getPsiDocument() { if ( psiDocument == null ) { psiDocument = PsiDocumentFactory.buildPsiDocument( this ); } return psiDocument; }
/** * Return a PSI document. Create a new wmpty one if it doesn't exists yet. * * @return a PSI document. */ public Document getPsiDocument() { if ( psiDocument == null ) { psiDocument = PsiDocumentFactory.buildPsiDocument( this ); } return psiDocument; }
public UserSessionDownload( PsiVersion psiVersion, Institution source ) { this.psiVersion = psiVersion; this.source = source; psiDocument = PsiDocumentFactory.buildPsiDocument( this, source ); }
/** * Return a PSI document. Create a new wmpty one if it doesn't exists yet. * * @return a PSI document. */ public Document getPsiDocument() { if ( psiDocument == null ) { psiDocument = PsiDocumentFactory.buildPsiDocument( this ); } return psiDocument; }