org.apache.fop.render.afp.modca

Class EndPageGroup


public class EndPageGroup
extends AbstractNamedAFPObject

The End Named Page Group (ENG) structured field terminates a page group that was initiated by a Begin Named Page Group structured field. Note :This object will be used to represent an ENG structured field. It is necessary as you can't end a PageGroup because you don't know where the group will end (as this is controlled by the tags in the FO).

Field Summary

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

_name, _nameBytes

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

log

Constructor Summary

EndPageGroup(String groupId)
Constructor for the ActiveEnvironmentGroup, this takes a name parameter which should be 8 characters long.

Method Summary

void
writeDataStream(OutputStream os)
Accessor method to write the AFP datastream for the End Page Group.

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

writeDataStream, writeObjectList

Constructor Details

EndPageGroup

public EndPageGroup(String groupId)
Constructor for the ActiveEnvironmentGroup, this takes a name parameter which should be 8 characters long.
Parameters:

Method Details

writeDataStream

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

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