public final class Document extends AbstractResourceEnvironmentGroupContainer
AbstractAFPObject.Category, AbstractAFPObject.TyperesourceEnvironmentGroupresourceGroup, startedactiveEnvironmentGroup, complete, factory, objects, rotationnametripletsLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
Document(Factory factory,
java.lang.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
|
java.lang.String |
toString() |
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, 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 Document(Factory factory, java.lang.String name)
factory - the object factoryname - the name of the documentpublic void endDocument()
public boolean isComplete()
isComplete in interface CompletableisComplete in class AbstractPageObjectprotected void writeStart(java.io.OutputStream os)
throws java.io.IOException
writeStart in class AbstractStructuredObjectos - 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 AbstractStructuredObjectos - The stream to write tojava.io.IOException - an I/O exception if one occurredpublic java.lang.String toString()
toString in class AbstractNamedAFPObjectCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.