public class ObjectClassificationTriplet extends AbstractTriplet
AbstractAFPObject.Category, AbstractAFPObject.Type
Modifier and Type | Field and Description |
---|---|
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
|
id
log, SF_CLASS, SF_HEADER
AREA_DEFINITION, ATTRIBUTE_QUALIFIER, ATTRIBUTE_VALUE, CHARACTER_ROTATION, CMR_TAG_FIDELITY, CODED_GRAPHIC_CHARACTER_SET_GLOBAL_IDENTIFIER, COLOR_FIDELITY, COLOR_MANAGEMENT_RESOURCE_DESCRIPTOR, COLOR_SPECIFICATION, COMMENT, DATA_OBJECT_FONT_DESCRIPTOR, DESCRIPTOR_POSITION, DEVICE_APPEARANCE, ENCODING_SCHEME_ID, EXTENDED_RESOURCE_LOCAL_IDENTIFIER, FINISHING_FIDELITY, FINISHING_OPERATION, FONT_DESCRIPTOR_SPECIFICATION, FONT_FIDELITY, FONT_HORIZONTAL_SCALE_FACTOR, FONT_RESOLUTION_AND_METRIC_TECHNOLOGY, FULLY_QUALIFIED_NAME, LOCALE_SELECTOR, MAPPING_OPTION, MAX_LENGTH, MEASUREMENT_UNITS, MEDIA_EJECT_CONTROL, MEDIA_FIDELITY, MEDIUM_MAP_PAGE_NUMBER, MEDIUM_ORIENTATION, MODCA_INTERCHANGE_SET, OBJECT_AREA_SIZE, OBJECT_BYTE_EXTENT, OBJECT_BYTE_OFFSET, OBJECT_CLASSIFICATION, OBJECT_COUNT, OBJECT_DATE_AND_TIMESTAMP, OBJECT_FUNCTION_SET_SPECIFICATION, OBJECT_OFFSET, OBJECT_STRUCTURED_FIELD_EXTENT, OBJECT_STRUCTURED_FIELD_OFFSET, PAGE_OVERLAY_CONDITIONAL_PROCESSING, PAGE_POSITION_INFORMATION, PARAMETER_VALUE, PRESENTATION_CONTROL, PRESENTATION_SPACE_MIXING_RULE, PRESENTATION_SPACE_RESET_MIXING, RENDERING_INTENT, RESOURCE_LOCAL_IDENTIFIER, RESOURCE_OBJECT_INCLUDE, RESOURCE_SECTION_NUMBER, RESOURCE_USAGE_ATTRIBUTE, TEXT_FIDELITY, TONER_SAVER, UNIVERSAL_DATE_AND_TIMESTAMP, UP3I_FINISHING_OPERATION
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
getData, getId
copyChunks, copySF, copySF, truncate, writeChunksToStream, writeObjects
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
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 definitionpublic 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 datapublic int getDataLength()
public void writeToStream(java.io.OutputStream os) throws java.io.IOException
os
- the outputsteam streamjava.io.IOException
- an I/O exception of some sort has occurred.Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.