public final class Document extends AbstractResourceEnvironmentGroupContainer
AbstractAFPObject.Category, AbstractAFPObject.TyperesourceEnvironmentGroupresourceGroup, startedactiveEnvironmentGroup, complete, factory, invokeMediumMaps, objects, rotationnametripletsLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
Document(Factory factory,
String name)
Constructor for the document object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endDocument()
Method to mark the end of the page group.
|
boolean |
isComplete()
Returns true if this object is complete
|
String |
toString() |
protected void |
writeEnd(OutputStream os)
Helper method to write the end of the Object.
|
protected void |
writeStart(OutputStream os)
Helper method to write the start of the Object.
|
addPage, addPageGroup, createInvokeMediumMap, getResourceEnvironmentGroup, writeContentcanWrite, getResourceCount, getResourceGroup, hasResources, writeObjects, writeObjects, writeToStreamaddObject, createFont, createIncludePageSegment, createLine, createNoOperation, createTagLogicalElement, createText, endPage, endPresentationObject, getActiveEnvironmentGroup, getHeight, getPresentationTextObject, getRotation, getTagLogicalElements, getWidth, setCompletecopySF, getName, getNameBytes, getNameLength, setNameaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletscopySF, truncate, writeChunksToStreampublic void endDocument()
public boolean isComplete()
isComplete in interface CompletableisComplete in class AbstractPageObjectprotected void writeStart(OutputStream os) throws IOException
writeStart in class AbstractStructuredObjectos - The stream to write toIOException - throws an I/O exception if one occurredprotected void writeEnd(OutputStream os) throws IOException
writeEnd in class AbstractStructuredObjectos - The stream to write toIOException - an I/O exception if one occurredpublic String toString()
toString in class AbstractNamedAFPObjectCopyright © 2023 Apache Software Foundation. All rights reserved.