Completable, Streamablepublic final class Document extends AbstractResourceEnvironmentGroupContainer
AbstractAFPObject.Category, AbstractAFPObject.TypeLOG, SF_CLASS, SF_HEADER_LENGTHnameactiveEnvironmentGroup, complete, factory, objects, rotationresourceEnvironmentGroupresourceGroup, startedtriplets| Constructor | Description |
|---|---|
Document(Factory factory,
java.lang.String name) |
Constructor for the document object.
|
| Modifier and Type | Method | 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.
|
copySF, truncate, writeChunksToStreamcopySF, getName, getNameBytes, getNameLength, setNameaddObject, createFont, createIncludePageSegment, createLine, createNoOperation, createTagLogicalElement, createText, endPage, endPresentationObject, getActiveEnvironmentGroup, getHeight, getPresentationTextObject, getRotation, getTagLogicalElements, getWidth, setCompleteaddPage, addPageGroup, createInvokeMediumMap, getResourceEnvironmentGroup, writeContentcanWrite, getResourceCount, getResourceGroup, hasResources, writeObjects, writeObjects, writeToStreamaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletspublic 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-2016 The Apache Software Foundation. All Rights Reserved.