|
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
public class AbstractTripletStructuredObject
A MODCA structured object base class providing support for Triplets
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
AbstractAFPObject.Category, AbstractAFPObject.Type |
Field Summary | |
---|---|
protected java.util.List |
triplets
list of object triplets |
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
log, SF_CLASS, SF_HEADER |
Constructor Summary | |
---|---|
AbstractTripletStructuredObject()
|
Method Summary | |
---|---|
protected void |
addTriplet(Triplet triplet)
Adds a triplet to this structured object |
void |
addTriplets(java.util.Collection tripletCollection)
Adds a list of triplets to the triplets contained within this structured field |
java.lang.String |
getFullyQualifiedName()
|
protected int |
getTripletDataLength()
Returns the triplet data length |
protected java.util.List |
getTriplets()
|
boolean |
hasTriplet(byte tripletId)
Returns true of this structured field has the given triplet |
boolean |
hasTriplets()
Returns true when this structured field contains triplets |
void |
setComment(java.lang.String commentString)
Sets a comment on this resource |
void |
setFullyQualifiedName(byte fqnType,
byte fqnFormat,
java.lang.String fqName)
Sets the fully qualified name of this structured field |
void |
setObjectClassification(byte objectClass,
Registry.ObjectType objectType,
boolean dataInContainer,
boolean containerHasOEG,
boolean dataInOCD)
Sets the objects classification |
protected void |
writeTriplets(java.io.OutputStream os)
Writes any triplet data |
Methods inherited from class org.apache.fop.afp.modca.AbstractStructuredObject |
---|
writeContent, writeEnd, writeStart, writeToStream |
Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
copyChunks, copySF, copySF, truncate, writeChunksToStream, writeObjects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List triplets
Constructor Detail |
---|
public AbstractTripletStructuredObject()
Method Detail |
---|
protected int getTripletDataLength()
public boolean hasTriplets()
protected void writeTriplets(java.io.OutputStream os) throws java.io.IOException
os
- The stream to write to
java.io.IOException
- The stream to write topublic boolean hasTriplet(byte tripletId)
tripletId
- the triplet identifier
protected void addTriplet(Triplet triplet)
triplet
- the triplet to addpublic void addTriplets(java.util.Collection tripletCollection)
tripletCollection
- a collection of tripletsprotected java.util.List getTriplets()
public void setFullyQualifiedName(byte fqnType, byte fqnFormat, java.lang.String fqName)
fqnType
- the fully qualified name type of this resourcefqnFormat
- the fully qualified name format of this resourcefqName
- the fully qualified name of this resourcepublic java.lang.String getFullyQualifiedName()
public void setObjectClassification(byte objectClass, Registry.ObjectType objectType, boolean dataInContainer, boolean containerHasOEG, boolean dataInOCD)
objectClass
- the classification of the objectobjectType
- the MOD:CA registry object type entry for the given
object/component type of the objectdataInContainer
- whether the data resides in the containercontainerHasOEG
- whether the container has an object environment groupdataInOCD
- whether the data resides in a object container data structured fieldpublic void setComment(java.lang.String commentString)
commentString
- a comment string
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |