org.apache.fop.render.afp.modca
Class PageDescriptor

java.lang.Object
  extended byorg.apache.fop.render.afp.modca.AFPObject
      extended byorg.apache.fop.render.afp.modca.PageDescriptor

public class PageDescriptor
extends AFPObject

The Page Descriptor structured field specifies the size and attributes of a page or overlay presentation space.


Field Summary
 
Fields inherited from class org.apache.fop.render.afp.modca.AFPObject
LOGGER
 
Constructor Summary
PageDescriptor(int width, int height)
          Construct a page descriptor for the specified page width and page height.
 
Method Summary
 byte[] getDataStream()
          Accessor method to obtain the byte array AFP datastream for the page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageDescriptor

public PageDescriptor(int width,
                      int height)
Construct a page descriptor for the specified page width and page height.

Parameters:
width - The page width.
height - The page height.
Method Detail

getDataStream

public byte[] getDataStream()
Accessor method to obtain the byte array AFP datastream for the page.

Specified by:
getDataStream in class AFPObject
Returns:
byte[] data stream