Class Color
- All Implemented Interfaces:
Serializable
Java class for Color complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Color">
<complexContent>
<extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource">
<sequence>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}ColorMeasurementConditions" minOccurs="0"/>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}DeviceNColor" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="ActualColorName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="CMYK" type="{http://www.CIP4.org/JDFSchema_2_0}CMYKColor" />
<attribute name="ColorBook" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ColorBookEntry" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ColorDetails" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ColorName" type="{http://www.CIP4.org/JDFSchema_2_0}NamedColor" />
<attribute name="ColorType">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="DieLine"/>
<enumeration value="Normal"/>
<enumeration value="Opaque"/>
<enumeration value="OpaqueIgnore"/>
<enumeration value="Primer"/>
<enumeration value="Transparent"/>
</restriction>
</simpleType>
</attribute>
<attribute name="ColorTypeDetails" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="Density" type="{http://www.w3.org/2001/XMLSchema}float" />
<attribute name="Gray" type="{http://www.w3.org/2001/XMLSchema}float" />
<attribute name="Lab" type="{http://www.CIP4.org/JDFSchema_2_0}LabColor" />
<attribute name="NeutralDensity" type="{http://www.w3.org/2001/XMLSchema}float" />
<attribute name="PrintingTechnology" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="PrintStandard" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="RawName" type="{http://www.w3.org/2001/XMLSchema}hexBinary" />
<attribute name="Spectrum" type="{http://www.CIP4.org/JDFSchema_2_0}TransferFunction" />
<attribute name="sRGB" type="{http://www.CIP4.org/JDFSchema_2_0}sRGBColor" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected ColorMeasurementConditionsprotected Stringprotected Color.ColorTypeprotected Stringprotected Floatprotected List<DeviceNColor> protected Floatprotected Floatprotected Stringprotected Stringprotected byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the actualColorName property.getCMYK()Gets the value of the cmyk property.Gets the value of the colorBook property.Gets the value of the colorBookEntry property.Gets the value of the colorDetails property.Gets the value of the colorMeasurementConditions property.Gets the value of the colorName property.Gets the value of the colorType property.Gets the value of the colorTypeDetails property.Gets the value of the density property.Gets the value of the deviceNColor property.getGray()Gets the value of the gray property.getLab()Gets the value of the lab property.Gets the value of the neutralDensity property.Gets the value of the printingTechnology property.Gets the value of the printStandard property.byte[]Gets the value of the rawName property.Gets the value of the spectrum property.getSRGB()Gets the value of the srgb property.inthashCode()voidsetActualColorName(String value) Sets the value of the actualColorName property.voidsetColorBook(String value) Sets the value of the colorBook property.voidsetColorBookEntry(String value) Sets the value of the colorBookEntry property.voidsetColorDetails(String value) Sets the value of the colorDetails property.voidSets the value of the colorMeasurementConditions property.voidsetColorName(String value) Sets the value of the colorName property.voidsetColorType(Color.ColorType value) Sets the value of the colorType property.voidsetColorTypeDetails(String value) Sets the value of the colorTypeDetails property.voidsetDensity(Float value) Sets the value of the density property.voidSets the value of the gray property.voidsetNeutralDensity(Float value) Sets the value of the neutralDensity property.voidsetPrintingTechnology(String value) Sets the value of the printingTechnology property.voidsetPrintStandard(String value) Sets the value of the printStandard property.voidsetRawName(byte[] value) Sets the value of the rawName property.withActualColorName(String value) withCMYK(Collection<Float> values) withColorBook(String value) withColorBookEntry(String value) withColorDetails(String value) withColorName(String value) withColorType(Color.ColorType value) withColorTypeDetails(String value) withDensity(Float value) withDeviceNColor(Collection<DeviceNColor> values) withDeviceNColor(DeviceNColor... values) withLab(Collection<Float> values) withNeutralDensity(Float value) withPrintingTechnology(String value) withPrintStandard(String value) withRawName(byte[] value) withSpectrum(Float... values) withSpectrum(Collection<Float> values) withSRGB(Collection<Float> values) Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
Field Details
-
colorMeasurementConditions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected ColorMeasurementConditions colorMeasurementConditions -
deviceNColor
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected List<DeviceNColor> deviceNColor -
actualColorName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String actualColorName -
cmyk
-
colorBook
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String colorBook -
colorBookEntry
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String colorBookEntry -
colorDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String colorDetails -
colorName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String colorName -
colorType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Color.ColorType colorType -
colorTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String colorTypeDetails -
density
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Float density -
gray
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Float gray -
lab
-
neutralDensity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Float neutralDensity -
printingTechnology
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String printingTechnology -
printStandard
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String printStandard -
rawName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected byte[] rawName -
spectrum
-
srgb
-
-
Constructor Details
-
Color
public Color()
-
-
Method Details
-
getColorMeasurementConditions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public ColorMeasurementConditions getColorMeasurementConditions()Gets the value of the colorMeasurementConditions property.- Returns:
- possible object is
ColorMeasurementConditions
-
setColorMeasurementConditions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setColorMeasurementConditions(ColorMeasurementConditions value) Sets the value of the colorMeasurementConditions property.- Parameters:
value- allowed object isColorMeasurementConditions
-
getDeviceNColor
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public List<DeviceNColor> getDeviceNColor()Gets the value of the deviceNColor property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the deviceNColor property.For example, to add a new item, do as follows:
getDeviceNColor().add(newItem);
Objects of the following type(s) are allowed in the list
DeviceNColor- Returns:
- The value of the deviceNColor property.
-
getActualColorName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getActualColorName()Gets the value of the actualColorName property.- Returns:
- possible object is
String
-
setActualColorName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setActualColorName(String value) Sets the value of the actualColorName property.- Parameters:
value- allowed object isString
-
getCMYK
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public List<Float> getCMYK()Gets the value of the cmyk property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the cmyk property.For example, to add a new item, do as follows:
getCMYK().add(newItem);
Objects of the following type(s) are allowed in the list
Float- Returns:
- The value of the cmyk property.
-
getColorBook
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getColorBook()Gets the value of the colorBook property.- Returns:
- possible object is
String
-
setColorBook
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setColorBook(String value) Sets the value of the colorBook property.- Parameters:
value- allowed object isString
-
getColorBookEntry
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getColorBookEntry()Gets the value of the colorBookEntry property.- Returns:
- possible object is
String
-
setColorBookEntry
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setColorBookEntry(String value) Sets the value of the colorBookEntry property.- Parameters:
value- allowed object isString
-
getColorDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getColorDetails()Gets the value of the colorDetails property.- Returns:
- possible object is
String
-
setColorDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setColorDetails(String value) Sets the value of the colorDetails property.- Parameters:
value- allowed object isString
-
getColorName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getColorName()Gets the value of the colorName property.- Returns:
- possible object is
String
-
setColorName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setColorName(String value) Sets the value of the colorName property.- Parameters:
value- allowed object isString
-
getColorType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public Color.ColorType getColorType()Gets the value of the colorType property.- Returns:
- possible object is
Color.ColorType
-
setColorType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setColorType(Color.ColorType value) Sets the value of the colorType property.- Parameters:
value- allowed object isColor.ColorType
-
getColorTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getColorTypeDetails()Gets the value of the colorTypeDetails property.- Returns:
- possible object is
String
-
setColorTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setColorTypeDetails(String value) Sets the value of the colorTypeDetails property.- Parameters:
value- allowed object isString
-
getDensity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public Float getDensity()Gets the value of the density property.- Returns:
- possible object is
Float
-
setDensity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setDensity(Float value) Sets the value of the density property.- Parameters:
value- allowed object isFloat
-
getGray
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public Float getGray()Gets the value of the gray property.- Returns:
- possible object is
Float
-
setGray
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setGray(Float value) Sets the value of the gray property.- Parameters:
value- allowed object isFloat
-
getLab
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public List<Float> getLab()Gets the value of the lab property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the lab property.For example, to add a new item, do as follows:
getLab().add(newItem);
Objects of the following type(s) are allowed in the list
Float- Returns:
- The value of the lab property.
-
getNeutralDensity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public Float getNeutralDensity()Gets the value of the neutralDensity property.- Returns:
- possible object is
Float
-
setNeutralDensity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setNeutralDensity(Float value) Sets the value of the neutralDensity property.- Parameters:
value- allowed object isFloat
-
getPrintingTechnology
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getPrintingTechnology()Gets the value of the printingTechnology property.- Returns:
- possible object is
String
-
setPrintingTechnology
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setPrintingTechnology(String value) Sets the value of the printingTechnology property.- Parameters:
value- allowed object isString
-
getPrintStandard
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getPrintStandard()Gets the value of the printStandard property.- Returns:
- possible object is
String
-
setPrintStandard
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setPrintStandard(String value) Sets the value of the printStandard property.- Parameters:
value- allowed object isString
-
getRawName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public byte[] getRawName()Gets the value of the rawName property.- Returns:
- possible object is
String
-
setRawName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setRawName(byte[] value) Sets the value of the rawName property.- Parameters:
value- allowed object isString
-
getSpectrum
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public List<Float> getSpectrum()Gets the value of the spectrum property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the spectrum property.For example, to add a new item, do as follows:
getSpectrum().add(newItem);
Objects of the following type(s) are allowed in the list
Float- Returns:
- The value of the spectrum property.
-
getSRGB
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public List<Float> getSRGB()Gets the value of the srgb property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the srgb property.For example, to add a new item, do as follows:
getSRGB().add(newItem);
Objects of the following type(s) are allowed in the list
Float- Returns:
- The value of the srgb property.
-
withColorMeasurementConditions
-
withDeviceNColor
-
withDeviceNColor
-
withActualColorName
-
withCMYK
-
withCMYK
-
withColorBook
-
withColorBookEntry
-
withColorDetails
-
withColorName
-
withColorType
-
withColorTypeDetails
-
withDensity
-
withGray
-
withLab
-
withLab
-
withNeutralDensity
-
withPrintingTechnology
-
withPrintStandard
-
withRawName
-
withSpectrum
-
withSpectrum
-
withSRGB
-
withSRGB
-
equals
- Overrides:
equalsin classSpecificResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classSpecificResource
-