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
{
			throw (PropertyValueException) errorList.get( 0 );
		}
	}
	/**
	 * Checks the parent element.
	 * 
	 * @param parent
	 *            the parent element
	 * @return <true> if the parent element is <code>NOT_FOUND</code>,<code>WRONG_TYPE</code>,
	 *         <code>SELF_EXTEND</code>,<code>CIRCULAR</code>. Otherwise
	 *         <code>false</code>.
	 */
	private boolean isExtendsValid( DesignElement parent )
	{
		try
		{
			checkExtends( parent );
		}
		catch ( ExtendsException e )
		{
			return false;
		}
		return true;
	}
	/**
	 * Checks the parent element.
	 * 
	 * @param parent
	 *            the parent element