Completable
, Streamable
public abstract class AbstractResourceEnvironmentGroupContainer extends AbstractResourceGroupContainer
AbstractAFPObject.Category, AbstractAFPObject.Type
Modifier and Type | Field | Description |
---|---|---|
protected ResourceEnvironmentGroup |
resourceEnvironmentGroup |
The resource environment group used to store complex resources
|
LOG, SF_CLASS, SF_HEADER_LENGTH
name
activeEnvironmentGroup, complete, factory, objects, rotation
resourceGroup, started
triplets
Constructor | Description |
---|---|
AbstractResourceEnvironmentGroupContainer(Factory factory,
java.lang.String name) |
Main constructor
|
Modifier and Type | Method | 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(java.lang.String name) |
Creates an InvokeMediaMap on the page.
|
protected ResourceEnvironmentGroup |
getResourceEnvironmentGroup() |
Returns the resource environment group
|
protected void |
writeContent(java.io.OutputStream os) |
Helper method to write the contents of the Object.
|
copySF, truncate, writeChunksToStream
copySF, getName, getNameBytes, getNameLength, setName, toString
addObject, createFont, createIncludePageSegment, createLine, createNoOperation, createTagLogicalElement, createText, endPage, endPresentationObject, getActiveEnvironmentGroup, getHeight, getPresentationTextObject, getRotation, getTagLogicalElements, getWidth, isComplete, setComplete
canWrite, getResourceCount, getResourceGroup, hasResources, writeObjects, writeObjects, writeToStream
writeEnd, writeStart
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
protected ResourceEnvironmentGroup resourceEnvironmentGroup
public AbstractResourceEnvironmentGroupContainer(Factory factory, java.lang.String name)
factory
- the object factoryname
- the name of this resource containerpublic void addPage(PageObject page)
page
- - the Page objectpublic void addPageGroup(PageGroup pageGroup)
pageGroup
- the PageGroup objectpublic void createInvokeMediumMap(java.lang.String name)
name
- the name of the media mapprotected void writeContent(java.io.OutputStream os) throws java.io.IOException
writeContent
in class AbstractPageObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected ResourceEnvironmentGroup getResourceEnvironmentGroup()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.