Bug 130492 Provide a method to serialize the report with library information.
Currently, when engine generate the report document file, the document does not contain any library information. That will cause many propblem on server side. Model should provide a method to serialize the report with library information to a stream so that the generated report document can contain all information that the report need.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
}
	/**
	 * Checks all value items in the specific property whose type is list
	 * property type. This method is used in command. If any error is found, the
	 * exception will be thrown.
	 * 
	 * @param module
	 *            the module
	 * @param propDefn
	 *            the property definition of the list property
	 * @param list
	 *            the value list to check
	 * @param toAdd
	 *            the value item to add. This parameter maybe is
	 *            <code>null</code>.
	 * @throws PropertyValueException
	 *             if the structure list or the item to add has any semantic
	 *             error..
	 */
	public void checkSimpleList( Module module, PropertyDefn propDefn,
			List list, Object toAdd ) throws PropertyValueException
	{
		List errorList = SimpleListValidator.getInstance( ).validateForAdding(
				getHandle( module ), propDefn, list, toAdd );
		if ( errorList.size( ) > 0 )
		{
			throw (PropertyValueException) errorList.get( 0 );
		}
	}
}