org.eclipse.birt.report.engine.api
Class DocumentUtil

java.lang.Object
  extended by org.eclipse.birt.report.engine.api.DocumentUtil

public class DocumentUtil
extends java.lang.Object


Constructor Summary
DocumentUtil()
           
 
Method Summary
static void copy(org.eclipse.birt.core.archive.compound.IArchiveFile source, org.eclipse.birt.core.archive.compound.IArchiveFile target, IReportRunnable runnable)
           
static java.util.Collection<IBookmarkInfo> getBookmarks(IReportDocument document, java.util.Locale locale)
           
static boolean isCube(IReportDocument document, InstanceID instanceId)
          Judge whether it's a cube based on instance id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentUtil

public DocumentUtil()
Method Detail

copy

public static void copy(org.eclipse.birt.core.archive.compound.IArchiveFile source,
                        org.eclipse.birt.core.archive.compound.IArchiveFile target,
                        IReportRunnable runnable)
                 throws EngineException
Throws:
EngineException

getBookmarks

public static java.util.Collection<IBookmarkInfo> getBookmarks(IReportDocument document,
                                                               java.util.Locale locale)
                                                        throws EngineException
Returns:
a collection of all bookmark info; null is returned if no bookmark info.
Throws:
EngineException

isCube

public static boolean isCube(IReportDocument document,
                             InstanceID instanceId)
Judge whether it's a cube based on instance id

Parameters:
document - a report document
instanceId - an instance id
Returns:


Copyright © 2008 Actuate Corp. All rights reserved.