Class MapDataResource
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.MapDataResource
- All Implemented Interfaces:
Streamable
The Map Data Resource structured field specifies resources that are
required for presentation.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type -
Field Summary
FieldsFields inherited from class AbstractTripletStructuredObject
tripletsFields inherited from class AbstractAFPObject
LOG, SF_CLASS, SF_HEADER_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected intReturns the triplet data lengthprivate intvoidDataStream objects must implement the writeToStream() method to write its data to the given OutputStreamMethods inherited from class AbstractTripletStructuredObject
addTriplet, addTriplets, getFullyQualifiedName, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletsMethods inherited from class AbstractStructuredObject
writeContent, writeEnd, writeStartMethods inherited from class AbstractAFPObject
copySF, copySF, truncate, writeChunksToStream, writeObjects
-
Field Details
-
tripletsList
-
-
Constructor Details
-
MapDataResource
public MapDataResource()Main constructor
-
-
Method Details
-
finishElement
public void finishElement() -
getTripletDataLength
protected int getTripletDataLength()Description copied from class:AbstractTripletStructuredObjectReturns the triplet data length- Overrides:
getTripletDataLengthin classAbstractTripletStructuredObject- Returns:
- the triplet data length
-
getTripletDataLength
-
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.
-