org.apache.fop.render.afp.modca

Class MapPageOverlay


public class MapPageOverlay
extends AbstractAFPObject

The Map Page Overlay structured field maps a Resource Local ID to the name of a Begin Overlay structured field. A Map Page Overlay structured field may contain from one to 254 repeating groups.

Field Summary

Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

log

Constructor Summary

MapPageOverlay()
Constructor for the Map Page Overlay

Method Summary

void
addOverlay(String name)
Add an overlay to to the map page overlay object.
void
writeDataStream(OutputStream os)
Accessor method to write the AFP datastream for the Map Page Overlay

Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

writeDataStream, writeObjectList

Constructor Details

MapPageOverlay

public MapPageOverlay()
Constructor for the Map Page Overlay

Method Details

addOverlay

public void addOverlay(String name)
            throws MaximumSizeExceededException
Add an overlay to to the map page overlay object.
Parameters:
name - The name of the overlay.
Throws:
MaximumSizeExceededException - if the maximum size is reached

writeDataStream

public void writeDataStream(OutputStream os)
            throws IOException
Accessor method to write the AFP datastream for the Map Page Overlay
Overrides:
writeDataStream in interface AbstractAFPObject
Parameters:
os - The stream to write to

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.