|
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.triplets.AbstractTriplet
org.apache.fop.afp.modca.triplets.ObjectClassificationTriplet
public class ObjectClassificationTriplet
The Object Classification is used to classify and identify object data. The object data may or may not be defined by an IBM presentation architecture
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
AbstractAFPObject.Category, AbstractAFPObject.Type |
Field Summary | |
---|---|
static byte |
CLASS_DATA_OBJECT_FONT
Data object font. |
static byte |
CLASS_EXECUTABLE_PROGRAM
This is not a presentation object, the scope of this object is not defined |
static byte |
CLASS_SECONDARY_RESOURCE
This is a resource used by a presentation object that may itself be a resource. |
static byte |
CLASS_SETUP_FILE
Setup information file, document level. |
static byte |
CLASS_TIME_INVARIANT_PAGINATED_PRESENTATION_OBJECT
The scope of this object is the including page or overlay |
static byte |
CLASS_TIME_VARIANT_PRESENTATION_OBJECT
The scope of this object is not defined |
Fields inherited from class org.apache.fop.afp.modca.triplets.AbstractTriplet |
---|
id |
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
log, SF_CLASS, SF_HEADER |
Constructor Summary | |
---|---|
ObjectClassificationTriplet(byte objectClass,
Registry.ObjectType objectType,
boolean dataInContainer,
boolean containerHasOEG,
boolean dataInOCD)
Main constructor |
|
ObjectClassificationTriplet(byte objectClass,
Registry.ObjectType objectType,
boolean dataInContainer,
boolean containerHasOEG,
boolean dataInOCD,
java.lang.String objLev,
java.lang.String compName)
Fully parameterized constructor |
Method Summary | |
---|---|
int |
getDataLength()
Returns the data length of this structured field |
byte[] |
getStructureFlagsAsBytes(boolean dataInContainer,
boolean containerHasOEG,
boolean dataInOCD)
Returns the structured field flags |
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.triplets.AbstractTriplet |
---|
getData, getId |
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 |
---|
public static final byte CLASS_TIME_INVARIANT_PAGINATED_PRESENTATION_OBJECT
public static final byte CLASS_TIME_VARIANT_PRESENTATION_OBJECT
public static final byte CLASS_EXECUTABLE_PROGRAM
public static final byte CLASS_SETUP_FILE
public static final byte CLASS_SECONDARY_RESOURCE
public static final byte CLASS_DATA_OBJECT_FONT
Constructor Detail |
---|
public ObjectClassificationTriplet(byte objectClass, Registry.ObjectType objectType, boolean dataInContainer, boolean containerHasOEG, boolean dataInOCD)
objectClass
- the object class typeobjectType
- the object type registry entrydataInContainer
- 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 ObjectClassificationTriplet(byte objectClass, Registry.ObjectType objectType, boolean dataInContainer, boolean containerHasOEG, boolean dataInOCD, java.lang.String objLev, java.lang.String compName)
objectClass
- the object class typeobjectType
- the object type registry entrydataInContainer
- 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 fieldobjLev
- the release level or version number of the object typecompName
- the name of the company or organization that owns the object definitionMethod Detail |
---|
public byte[] getStructureFlagsAsBytes(boolean dataInContainer, boolean containerHasOEG, boolean dataInOCD)
dataInContainer
- true if the object data in carried in the object containercontainerHasOEG
- true if the object container has an object environment groupdataInOCD
- true if the object container data carries the object data
public int getDataLength()
public void writeToStream(java.io.OutputStream os) throws java.io.IOException
os
- the outputsteam stream
java.io.IOException
- an I/O exception of some sort has occurred.
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |