org.apache.fop.render.afp.modca
public class PageGroup extends AbstractNamedAFPObject
name, nameBytes
log
Constructor and Description |
---|
PageGroup(java.lang.String name)
Constructor for the PageGroup.
|
Modifier and Type | Method and Description |
---|---|
void |
addPage(PageObject page)
Adds a page object to the group.
|
void |
createInvokeMediumMap(java.lang.String name)
Creates an InvokeMediaMap on the page.
|
void |
createTagLogicalElement(java.lang.String name,
java.lang.String value)
Creates a TagLogicalElement on the page.
|
void |
endPageGroup()
Method to mark the end of the page group.
|
java.lang.String |
getName() |
boolean |
isComplete()
Returns an indication if the page group is complete
|
void |
writeDataStream(java.io.OutputStream os)
Accessor method to write the AFP datastream for the page group.
|
writeObjectList
public PageGroup(java.lang.String name)
name
- the name of the page grouppublic void addPage(PageObject page)
page
- the page object to addpublic java.lang.String getName()
public void createTagLogicalElement(java.lang.String name, java.lang.String value)
name
- the name of the tagvalue
- the value of the tagpublic void createInvokeMediumMap(java.lang.String name)
name
- the name of the media mappublic void endPageGroup()
public boolean isComplete()
public void writeDataStream(java.io.OutputStream os) throws java.io.IOException
writeDataStream
in class AbstractAFPObject
os
- The stream to write tojava.io.IOException
- thrown if an I/O exception of some sort has occurredCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.