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
* Validates the given property value. Validation may map the value onto a
	 * new value that should be used for the actual property update.
	 * <p>
	 * Part of: Property system.
	 * 
	 * @param module
	 *            the module
	 * @param propName
	 *            The name of the property to validate.
	 * @param value
	 *            The value to validate
	 * @return The validated value.
	 * @throws PropertyNameException
	 *             If the property is undefined.
	 * @throws PropertyValueException
	 *             If the value is incorrect.
	 */
	public Object validatePropertyValue( Module module, String propName,
			Object value ) throws PropertyNameException, PropertyValueException
	{
		
		
		ElementPropertyDefn prop = getPropertyDefn( propName );
		if ( prop == null )
			throw new PropertyNameException( this, propName );
		
		try
		{
			return prop.validateValue( module, value );
		}