Bug 160176 Create design by a template
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignSession.java
* @param is
	 *            stream to read the design
	 * @param options
	 *            the options set for this module
	 * @return the opened report design
	 * @throws DesignFileException
	 *             If the file is not found, or the file contains fatal errors.
	 */
	public ReportDesign openDesign( String fileName, InputStream is,
			ModuleOption options ) throws DesignFileException
	{
		if ( is == null )
			throw new IllegalArgumentException(
					"The input stream must not be null" ); 
		ReportDesign design = DesignReader.getInstance( ).read( this, fileName,
				is, options );
		designs.add( design );
		return design;
	}
	/**
	 * Opens a design given a stream to the design and the the file name of the
	 * design.
	 * 
	 * @param systemId
	 *            the uri where to find the relative sources for the library.
	 *            This url is treated as an absolute directory.
	 * @param is
	 *            the input stream to read the design
	 * @return the opened report design
	 * @throws DesignFileException