Bug 189813 After modify a wrong preview report, when preview in Web viewer it can not process the document file[1102]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/toc/TOCBuilder.java
return entry;
	}
	public TOCEntry createEntry( TOCEntry parent, Object tocValue, String bookmark, long elementId )
	{
		TOCEntry entry = startEntry( parent, tocValue, bookmark, null, elementId );
		closeEntry( entry );
		return entry;
	}
	/**
	 * close the entry. for top level toc, all entry must be put into the root
	 * entry. for group toc, we must create a root entry, and put all others
	 * into the root entry.
	 */
	public void closeEntry( TOCEntry entry )
	{
	}
	
	public TOCEntry getTOCEntry( )
	{
		return rootEntry;
	}
	
	public TOCTree getTOCTree( )
	{
		return tocTree;
	}
	static public void write( TOCTree tree, DataOutputStream out )
			throws IOException
	{
		IOUtil.writeString( out, VERSION );