| Modifier and Type | Field and Description |
|---|---|
| protected PreflightContext | context
The context which contains useful information to process the validation. |
| protected ICCProfileWrapper | iccpw
The ICCProfile contained in the DestOutputIntent |
| protected PDColorSpace | pdcs
High level object which represents the colors space to check. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | processAllColorSpace(PDColorSpace
the color space object to check. colorSpace)Method called by the validate method. |
| protected void | processCalibratedColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is a calibrated color (CalGray, CalRGB, Lab). |
| protected void | processCYMKColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is DeviceCYMK. |
| protected boolean | Returns: true if the default colorspace is a right one, false otherwise.Look up in the closest PDResources objects if there are a default ColorSpace. |
| protected void | processDeviceNColorSpace(PDColorSpace
the color space object to check. colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is DeviceN. |
| protected void | processGrayColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is DeviceGray. |
| protected void | processICCBasedColorSpace(PDColorSpace
the color space object to check. colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is a ICCBased color space. |
| protected void | processIndexedColorSpace(PDColorSpace
the color space object to check. colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is Indexed. |
| protected void | processPatternColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is a Pattern. |
| protected void | processRGBColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is DeviceRGB. |
| protected void | processSeparationColorSpace(PDColorSpace
the color space object to check. colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is Separation. |
| public final void | validate()
Implements org. Process the ColorSpace validation. |
| private void | |
| private boolean | |
| private boolean |
| context | back to summary |
|---|---|
| protected PreflightContext context The context which contains useful information to process the validation. | |
| iccpw | back to summary |
|---|---|
| protected ICCProfileWrapper iccpw The ICCProfile contained in the DestOutputIntent | |
| pdcs | back to summary |
|---|---|
| protected PDColorSpace pdcs High level object which represents the colors space to check. | |
| StandardColorSpaceHelper | back to summary |
|---|---|
| protected StandardColorSpaceHelper(PreflightContext _context, PDColorSpace _cs) | |
| processAllColorSpace | back to summary |
|---|---|
| protected final void processAllColorSpace(PDColorSpace colorSpace) Method called by the validate method. According to the ColorSpace, a specific ColorSpace method is called.
| |
| processCalibratedColorSpace | back to summary |
|---|---|
| protected void processCalibratedColorSpace(PDColorSpace colorSpace) Method called by the processAllColorSpace if the ColorSpace to check is a calibrated color (CalGray, CalRGB, Lab). | |
| processCYMKColorSpace | back to summary |
|---|---|
| protected void processCYMKColorSpace(PDColorSpace colorSpace) Method called by the processAllColorSpace if the ColorSpace to check is DeviceCYMK. | |
| processDefaultColorSpace | back to summary |
|---|---|
| protected boolean processDefaultColorSpace(PDColorSpace colorSpace) Look up in the closest PDResources objects if there are a default ColorSpace. If there are, check that is a authorized ColorSpace.
| |
| processDeviceNColorSpace | back to summary |
|---|---|
| protected void processDeviceNColorSpace(PDColorSpace colorSpace) Method called by the processAllColorSpace if the ColorSpace to check is DeviceN. Because this kind of ColorSpace can have alternate color space, the processAllColorSpace is called to check this alternate color space. (There are no restrictions on the Alternate Color space)
| |
| processGrayColorSpace | back to summary |
|---|---|
| protected void processGrayColorSpace(PDColorSpace colorSpace) Method called by the processAllColorSpace if the ColorSpace to check is DeviceGray. | |
| processICCBasedColorSpace | back to summary |
|---|---|
| protected void processICCBasedColorSpace(PDColorSpace colorSpace) Method called by the processAllColorSpace if the ColorSpace to check is a ICCBased color space. Because this kind of ColorSpace can have alternate color space, the processAllColorSpace is called to check this alternate color space. (Pattern is forbidden as Alternate Color Space)
| |
| processIndexedColorSpace | back to summary |
|---|---|
| protected void processIndexedColorSpace(PDColorSpace colorSpace) Method called by the processAllColorSpace if the ColorSpace to check is Indexed. Because this kind of ColorSpace can have a Base color space, the processAllColorSpace is called to check this base color space. (Indexed and Pattern can't be a Base color space)
| |
| processPatternColorSpace | back to summary |
|---|---|
| protected void processPatternColorSpace(PDColorSpace colorSpace) Method called by the processAllColorSpace if the ColorSpace to check is a Pattern. | |
| processRGBColorSpace | back to summary |
|---|---|
| protected void processRGBColorSpace(PDColorSpace colorSpace) Method called by the processAllColorSpace if the ColorSpace to check is DeviceRGB. | |
| processSeparationColorSpace | back to summary |
|---|---|
| protected void processSeparationColorSpace(PDColorSpace colorSpace) Method called by the processAllColorSpace if the ColorSpace to check is Separation. Because this kind of ColorSpace can have an alternate color space, the processAllColorSpace is called to check this alternate color space. (Indexed, Separation, DeviceN and Pattern can't be a Base color space)
| |
| validate | back to summary |
|---|---|
| public final void validate() throws ValidationException Implements org. Doc from org. Process the ColorSpace validation.
| |
| validateICCProfileAlternateEntry | back to summary |
|---|---|
| private void validateICCProfileAlternateEntry(PDICCBased iccBased, PDColorSpace alternateColorSpace) | |
| validateICCProfileNEntry | back to summary |
|---|---|
| private boolean validateICCProfileNEntry(COSStream stream, ICC_Profile iccp) | |
| validateICCProfileVersion | back to summary |
|---|---|
| private boolean validateICCProfileVersion(ICC_Profile iccp) | |