Completable, Startable, StreamableGraphicsObject, ImageObject, ObjectContainerpublic abstract class AbstractDataObject extends AbstractNamedAFPObject implements Startable, Completable
AbstractAFPObject.Category, AbstractAFPObject.Type| Modifier and Type | Field | Description |
|---|---|---|
protected Factory |
factory |
the object factory
|
protected ObjectEnvironmentGroup |
objectEnvironmentGroup |
the object environment group
|
LOG, SF_CLASS, SF_HEADER_LENGTHnametriplets| Constructor | Description |
|---|---|
AbstractDataObject(Factory factory,
java.lang.String name) |
Named constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
ObjectEnvironmentGroup |
getObjectEnvironmentGroup() |
Gets the ObjectEnvironmentGroup
|
boolean |
isComplete() |
Returns true if this object is complete
|
boolean |
isStarted() |
Returns true if this object has started
|
void |
setComplete(boolean complete) |
Sets whether or not this object is complete or not
|
void |
setStarted(boolean started) |
Sets whether or not this object has started or not
|
void |
setViewport(AFPDataObjectInfo dataObjectInfo) |
Sets the object view port (area position and size).
|
protected void |
writeContent(java.io.OutputStream os) |
Helper method to write the contents of the Object.
|
protected void |
writeStart(java.io.OutputStream os) |
Helper method to write the start of the Object.
|
copySF, truncate, writeChunksToStream, writeObjectscopySF, getName, getNameBytes, getNameLength, setName, toStringwriteEnd, writeToStreamaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletsprotected ObjectEnvironmentGroup objectEnvironmentGroup
protected final Factory factory
public AbstractDataObject(Factory factory, java.lang.String name)
factory - the object factoryname - data object namepublic void setViewport(AFPDataObjectInfo dataObjectInfo)
dataObjectInfo - the object area infopublic ObjectEnvironmentGroup getObjectEnvironmentGroup()
protected 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 writeContent(java.io.OutputStream os)
throws java.io.IOException
writeContent in class AbstractStructuredObjectos - The stream to write tojava.io.IOException - throws an I/O exception if one occurredpublic void setStarted(boolean started)
setStarted in interface Startablestarted - true if this object has startedpublic boolean isStarted()
public void setComplete(boolean complete)
setComplete in interface Completablecomplete - true if this object is completepublic boolean isComplete()
isComplete in interface CompletableCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.