public class IncludePageSegment extends AbstractNamedAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
name
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
IncludePageSegment(java.lang.String name,
int x,
int y)
Constructor for the Include Page Segment
|
Modifier and Type | Method and Description |
---|---|
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, getName, getNameBytes, getNameLength, setName, toString
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
writeContent, writeEnd, writeStart
copySF, truncate, writeChunksToStream, writeObjects
public IncludePageSegment(java.lang.String name, int x, int y)
name
- Name of the page segmentx
- The x positiony
- The y positionpublic void writeToStream(java.io.OutputStream os) throws java.io.IOException
writeToStream
in interface Streamable
writeToStream
in class AbstractStructuredObject
os
- the outputsteam streamjava.io.IOException
- an I/O exception of some sort has occurred.Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.