Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.birt.report.model.api.util
Class DocumentUtil

    java.lang.Object
      org.eclipse.birt.report.model.api.util.DocumentUtil

    public class DocumentUtil

extends java.lang.Object

Utility class for the serialize a report design in which all the elements localize their property values from the referred external resources, such as library elements, library embedded images.

Constructor Summary
`DocumentUtil()`

Method Summary
`static ReportDesignHandle` | `serialize(ReportDesignHandle designHandle, java.io.OutputStream out)` Writes the report design to the given output stream.

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

### serialize

    public static ReportDesignHandle serialize(ReportDesignHandle designHandle,
                                               java.io.OutputStream out)
                                        throws java.io.IOException

  Writes the report design to the given output stream. The caller must call `onSave` if the save succeeds.

  Parameters:
    `designHandle` - the report design to serialize
    `out` - the output stream to which the design is written.
  Throws:
    `java.io.IOException` - if the file cannot be written to the output stream successfully.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Actuate Corp. All rights reserved.