|
fop 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.modca.AbstractStructuredObject
org.apache.fop.afp.modca.AbstractTripletStructuredObject
org.apache.fop.afp.modca.AbstractNamedAFPObject
org.apache.fop.afp.goca.AbstractGraphicsDrawingOrderContainer
org.apache.fop.afp.goca.GraphicsData
A GOCA graphics data
Nested Class Summary |
Nested classes inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
AbstractAFPObject.Category, AbstractAFPObject.Type |
Field Summary | |
static int |
MAX_DATA_LEN
the maximum graphics data length |
Fields inherited from class org.apache.fop.afp.goca.AbstractGraphicsDrawingOrderContainer |
objects |
Fields inherited from class org.apache.fop.afp.modca.AbstractNamedAFPObject |
name |
Fields inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject |
triplets |
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
log, SF_CLASS, SF_HEADER |
Constructor Summary | |
GraphicsData()
Main constructor |
Method Summary | |
void |
addObject(StructuredData object)
Adds a given graphics object to this container |
void |
addSegment(GraphicsChainedSegment segment)
Adds the given segment to this graphics data |
java.lang.String |
createSegmentName()
Returns a new segment name |
int |
getDataLength()
Returns the current data length |
GraphicsChainedSegment |
newSegment()
Creates a new graphics segment |
StructuredData |
removeCurrentSegment()
Removes the current segment from this graphics data |
java.lang.String |
toString()
|
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream |
Methods inherited from class org.apache.fop.afp.goca.AbstractGraphicsDrawingOrderContainer |
addAll, isComplete, isStarted, removeLast, setComplete, setStarted, writeContent, writeStart |
Methods inherited from class org.apache.fop.afp.modca.AbstractNamedAFPObject |
copySF, getName, getNameBytes, getNameLength, setName |
Methods inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject |
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setObjectClassification, writeTriplets |
Methods inherited from class org.apache.fop.afp.modca.AbstractStructuredObject |
writeEnd |
Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
copyChunks, copySF, truncate, writeChunksToStream, writeObjects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MAX_DATA_LEN
Constructor Detail |
public GraphicsData()
Method Detail |
public int getDataLength()
getDataLength
in interface StructuredData
getDataLength
in class AbstractGraphicsDrawingOrderContainer
public java.lang.String createSegmentName()
public GraphicsChainedSegment newSegment()
public void addObject(StructuredData object)
addObject
in class AbstractGraphicsDrawingOrderContainer
object
- the structured data objectpublic StructuredData removeCurrentSegment()
public void writeToStream(java.io.OutputStream os) throws java.io.IOException
writeToStream
in interface Streamable
writeToStream
in class AbstractStructuredObject
java.io.IOException
public java.lang.String toString()
toString
in class AbstractNamedAFPObject
public void addSegment(GraphicsChainedSegment segment)
segment
- a graphics chained segment
|
fop 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |