Class ContainerDataDescriptor
java.lang.Object
org.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.modca.AbstractStructuredObject
org.apache.fop.afp.modca.AbstractTripletStructuredObject
org.apache.fop.afp.modca.AbstractDescriptor
org.apache.fop.afp.modca.ContainerDataDescriptor
- All Implemented Interfaces:
Streamable
Container data descriptor (to maintain compatibility with pre-year 2000 applications)
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type -
Field Summary
Fields inherited from class AbstractDescriptor
height, heightRes, width, widthResFields inherited from class AbstractTripletStructuredObject
tripletsFields inherited from class AbstractAFPObject
LOG, SF_CLASS, SF_HEADER_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionContainerDataDescriptor(int width, int height, int widthRes, int heightRes) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidDataStream objects must implement the writeToStream() method to write its data to the given OutputStreamMethods inherited from class AbstractDescriptor
getHeight, getWidth, toStringMethods inherited from class AbstractTripletStructuredObject
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletsMethods inherited from class AbstractStructuredObject
writeContent, writeEnd, writeStartMethods inherited from class AbstractAFPObject
copySF, copySF, truncate, writeChunksToStream, writeObjects
-
Constructor Details
-
ContainerDataDescriptor
public ContainerDataDescriptor(int width, int height, int widthRes, int heightRes) Main constructor- Parameters:
width- the container data widthheight- the container data heightwidthRes- the container width resolutionheightRes- the container height resolution
-
-
Method Details
-
writeToStream
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream- Specified by:
writeToStreamin interfaceStreamable- Overrides:
writeToStreamin classAbstractStructuredObject- Parameters:
os- the outputsteam stream- Throws:
IOException- an I/O exception of some sort has occurred.
-