public abstract class AbstractResourceEnvironmentGroupContainer extends AbstractResourceGroupContainer
AbstractAFPObject.Category, AbstractAFPObject.Type
Modifier and Type | Field and Description |
---|---|
protected ResourceEnvironmentGroup |
resourceEnvironmentGroup
The resource environment group used to store complex resources
|
resourceGroup, started
activeEnvironmentGroup, complete, factory, invokeMediumMaps, objects, rotation
name
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
AbstractResourceEnvironmentGroupContainer(Factory factory,
String name)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addPage(PageObject page)
Adds a page to the resource container.
|
void |
addPageGroup(PageGroup pageGroup)
Adds a PageGroup to the resource container.
|
void |
createInvokeMediumMap(String name)
Creates an InvokeMediaMap on the page.
|
protected ResourceEnvironmentGroup |
getResourceEnvironmentGroup()
Returns the resource environment group
|
protected void |
writeContent(OutputStream os)
Helper method to write the contents of the Object.
|
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, toString
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
writeEnd, writeStart
copySF, truncate, writeChunksToStream
protected ResourceEnvironmentGroup resourceEnvironmentGroup
public void addPage(PageObject page)
page
- - the Page objectpublic void addPageGroup(PageGroup pageGroup)
pageGroup
- the PageGroup objectpublic void createInvokeMediumMap(String name)
createInvokeMediumMap
in class AbstractPageObject
name
- the name of the media mapprotected void writeContent(OutputStream os) throws IOException
writeContent
in class AbstractPageObject
os
- The stream to write toIOException
- throws an I/O exception if one occurredprotected ResourceEnvironmentGroup getResourceEnvironmentGroup()
Copyright © 2025 Apache Software Foundation. All rights reserved.