Bug 184762 BIRT Model - Enhancments to the level defintion
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ParseStateFactory.java
* 
	 * @param tagName
	 *            xml tag name
	 * @param handler
	 *            module parser handler
	 * @param element
	 *            the design element
	 * @param parent
	 *            the parent content node
	 * @return a parse state
	 */
	public static AbstractParseState createParseState( String tagName,
			ModuleParserHandler handler, DesignElement element,
			ContentNode parent )
	{
		if ( tagName.equalsIgnoreCase( DesignSchemaConstants.PROPERTY_TAG )
				|| tagName
						.equalsIgnoreCase( DesignSchemaConstants.LIST_PROPERTY_TAG )
				|| tagName
						.equalsIgnoreCase( DesignSchemaConstants.EXPRESSION_TAG )
				|| tagName
						.equalsIgnoreCase( DesignSchemaConstants.XML_PROPERTY_TAG )
				|| tagName
						.equalsIgnoreCase( DesignSchemaConstants.STRUCTURE_TAG )
				|| tagName.equalsIgnoreCase( DesignSchemaConstants.METHOD_TAG )
				|| tagName
						.equalsIgnoreCase( DesignSchemaConstants.TEXT_PROPERTY_TAG )
				|| tagName
						.equalsIgnoreCase( DesignSchemaConstants.HTML_PROPERTY_TAG )
				|| tagName