public class PageGroup extends AbstractResourceEnvironmentGroupContainer
AbstractAFPObject.Category, AbstractAFPObject.Type
resourceEnvironmentGroup
resourceGroup, started
activeEnvironmentGroup, complete, factory, objects, rotation, tagLogicalElements
name
triplets
log, SF_CLASS, SF_HEADER
Constructor and Description |
---|
PageGroup(Factory factory,
java.lang.String name,
int tleSequence)
Constructor for the PageGroup.
|
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getTleSequence() |
java.lang.String |
toString() |
protected void |
writeContent(java.io.OutputStream os)
Helper method to write the contents of the Object.
|
protected void |
writeEnd(java.io.OutputStream os)
Helper method to write the end of the Object.
|
protected void |
writeStart(java.io.OutputStream os)
Helper method to write the start of the Object.
|
addPage, addPageGroup, createInvokeMediumMap, getResourceEnvironmentGroup
canWrite, getResourceCount, getResourceGroup, hasResources, writeObjects, writeObjects, writeToStream
addObject, createFont, createIncludePageSegment, createLine, createNoOperation, createTagLogicalElement, createText, endPage, endPresentationObject, getActiveEnvironmentGroup, getHeight, getPresentationTextObject, getRotation, getTagLogicalElements, getWidth, isComplete, setComplete
copySF, getName, getNameBytes, getNameLength, setName
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setObjectClassification, writeTriplets
copyChunks, copySF, truncate, writeChunksToStream
public PageGroup(Factory factory, java.lang.String name, int tleSequence)
factory
- the resource managername
- the name of the page grouptleSequence
- current start tle sequence number within streampublic void createTagLogicalElement(java.lang.String name, java.lang.String value)
name
- the name of the tagvalue
- the value of the tagpublic void endPageGroup()
protected void writeContent(java.io.OutputStream os) throws java.io.IOException
writeContent
in class AbstractResourceEnvironmentGroupContainer
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeStart(java.io.OutputStream os) throws java.io.IOException
writeStart
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeEnd(java.io.OutputStream os) throws java.io.IOException
writeEnd
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- an I/O exception if one occurredpublic java.lang.String toString()
toString
in class AbstractNamedAFPObject
public int getTleSequence()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.