public class MapPageOverlay extends AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
MapPageOverlay()
Constructor for the Map Page Overlay
|
Modifier and Type | Method and Description |
---|---|
void |
addOverlay(java.lang.String name)
Add an overlay to to the map page overlay object.
|
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, copySF, truncate, writeChunksToStream, writeObjects
public void addOverlay(java.lang.String name) throws MaximumSizeExceededException
name
- The name of the overlay.MaximumSizeExceededException
- if the maximum size is reachedpublic void writeToStream(java.io.OutputStream os) throws java.io.IOException
os
- the outputsteam streamjava.io.IOException
- an I/O exception of some sort has occurred.Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.