Package org.apache.fop.afp.modca
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
public class MapDataResource extends AbstractTripletStructuredObject
The Map Data Resource structured field specifies resources that are required for presentation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.util.List<AbstractTriplet>>
tripletsList
-
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_LENGTH
-
-
Constructor Summary
Constructors Constructor Description MapDataResource()
Main constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finishElement()
protected int
getTripletDataLength()
Returns the triplet data lengthprivate int
getTripletDataLength(java.util.List<AbstractTriplet> l)
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.modca.AbstractTripletStructuredObject
addTriplet, addTriplets, getFullyQualifiedName, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
-
Methods inherited from class org.apache.fop.afp.modca.AbstractStructuredObject
writeContent, writeEnd, writeStart
-
Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject
copySF, copySF, truncate, writeChunksToStream, writeObjects
-
-
-
-
Field Detail
-
tripletsList
private java.util.List<java.util.List<AbstractTriplet>> tripletsList
-
-
Method Detail
-
finishElement
public void finishElement()
-
getTripletDataLength
protected int getTripletDataLength()
Description copied from class:AbstractTripletStructuredObject
Returns the triplet data length- Overrides:
getTripletDataLength
in classAbstractTripletStructuredObject
- Returns:
- the triplet data length
-
getTripletDataLength
private int getTripletDataLength(java.util.List<AbstractTriplet> l)
-
writeToStream
public void writeToStream(java.io.OutputStream os) throws java.io.IOException
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream- Specified by:
writeToStream
in interfaceStreamable
- Overrides:
writeToStream
in classAbstractStructuredObject
- Parameters:
os
- the outputsteam stream- Throws:
java.io.IOException
- an I/O exception of some sort has occurred.
-
-