Class ByteMap
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.ByteMap
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class ByteMap extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Band" minOccurs="0"/> </sequence> <attribute name="BandOrdering"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="BandMajor"/> <enumeration value="ColorMajor"/> </restriction> </simpleType> </attribute> <attribute name="FrameHeight" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="FrameWidth" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="Halftoned" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="Interleaved" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="PixelColorants" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="PixelDepth" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="PixelSkip" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="Resolution" type="{http://www.CIP4.org/JDFSchema_2_0}XYPair" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByteMap.BandOrderingJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected Bandbandprotected ByteMap.BandOrderingbandOrderingprotected java.lang.IntegerframeHeightprotected java.lang.IntegerframeWidthprotected java.lang.Booleanhalftonedprotected java.lang.Booleaninterleavedprotected java.util.List<java.lang.String>pixelColorantsprotected java.lang.IntegerpixelDepthprotected java.lang.IntegerpixelSkipprotected XYPairresolution
-
Constructor Summary
Constructors Constructor Description ByteMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)BandgetBand()Gets the value of the band property.ByteMap.BandOrderinggetBandOrdering()Gets the value of the bandOrdering property.java.lang.IntegergetFrameHeight()Gets the value of the frameHeight property.java.lang.IntegergetFrameWidth()Gets the value of the frameWidth property.java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.java.util.List<java.lang.String>getPixelColorants()Gets the value of the pixelColorants property.java.lang.IntegergetPixelDepth()Gets the value of the pixelDepth property.java.lang.IntegergetPixelSkip()Gets the value of the pixelSkip property.XYPairgetResolution()Gets the value of the resolution property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)java.lang.BooleanisHalftoned()Gets the value of the halftoned property.java.lang.BooleanisInterleaved()Gets the value of the interleaved property.voidsetBand(Band value)Sets the value of the band property.voidsetBandOrdering(ByteMap.BandOrdering value)Sets the value of the bandOrdering property.voidsetFrameHeight(java.lang.Integer value)Sets the value of the frameHeight property.voidsetFrameWidth(java.lang.Integer value)Sets the value of the frameWidth property.voidsetHalftoned(java.lang.Boolean value)Sets the value of the halftoned property.voidsetInterleaved(java.lang.Boolean value)Sets the value of the interleaved property.voidsetPixelDepth(java.lang.Integer value)Sets the value of the pixelDepth property.voidsetPixelSkip(java.lang.Integer value)Sets the value of the pixelSkip property.voidsetResolution(XYPair value)Sets the value of the resolution property.ByteMapwithBand(Band value)ByteMapwithBandOrdering(ByteMap.BandOrdering value)ByteMapwithFrameHeight(java.lang.Integer value)ByteMapwithFrameWidth(java.lang.Integer value)ByteMapwithHalftoned(java.lang.Boolean value)ByteMapwithInterleaved(java.lang.Boolean value)ByteMapwithPixelColorants(java.lang.String... values)ByteMapwithPixelColorants(java.util.Collection<java.lang.String> values)ByteMapwithPixelDepth(java.lang.Integer value)ByteMapwithPixelSkip(java.lang.Integer value)ByteMapwithResolution(XYPair value)
-
-
-
Field Detail
-
band
protected Band band
-
bandOrdering
protected ByteMap.BandOrdering bandOrdering
-
frameHeight
protected java.lang.Integer frameHeight
-
frameWidth
protected java.lang.Integer frameWidth
-
halftoned
protected java.lang.Boolean halftoned
-
interleaved
protected java.lang.Boolean interleaved
-
pixelColorants
protected java.util.List<java.lang.String> pixelColorants
-
pixelDepth
protected java.lang.Integer pixelDepth
-
pixelSkip
protected java.lang.Integer pixelSkip
-
resolution
protected XYPair resolution
-
-
Method Detail
-
setBand
public void setBand(Band value)
Sets the value of the band property.- Parameters:
value- allowed object isBand
-
getBandOrdering
public ByteMap.BandOrdering getBandOrdering()
Gets the value of the bandOrdering property.- Returns:
- possible object is
ByteMap.BandOrdering
-
setBandOrdering
public void setBandOrdering(ByteMap.BandOrdering value)
Sets the value of the bandOrdering property.- Parameters:
value- allowed object isByteMap.BandOrdering
-
getFrameHeight
public java.lang.Integer getFrameHeight()
Gets the value of the frameHeight property.- Returns:
- possible object is
Integer
-
setFrameHeight
public void setFrameHeight(java.lang.Integer value)
Sets the value of the frameHeight property.- Parameters:
value- allowed object isInteger
-
getFrameWidth
public java.lang.Integer getFrameWidth()
Gets the value of the frameWidth property.- Returns:
- possible object is
Integer
-
setFrameWidth
public void setFrameWidth(java.lang.Integer value)
Sets the value of the frameWidth property.- Parameters:
value- allowed object isInteger
-
isHalftoned
public java.lang.Boolean isHalftoned()
Gets the value of the halftoned property.- Returns:
- possible object is
Boolean
-
setHalftoned
public void setHalftoned(java.lang.Boolean value)
Sets the value of the halftoned property.- Parameters:
value- allowed object isBoolean
-
isInterleaved
public java.lang.Boolean isInterleaved()
Gets the value of the interleaved property.- Returns:
- possible object is
Boolean
-
setInterleaved
public void setInterleaved(java.lang.Boolean value)
Sets the value of the interleaved property.- Parameters:
value- allowed object isBoolean
-
getPixelColorants
public java.util.List<java.lang.String> getPixelColorants()
Gets the value of the pixelColorants 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 pixelColorants property.For example, to add a new item, do as follows:
getPixelColorants().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getPixelDepth
public java.lang.Integer getPixelDepth()
Gets the value of the pixelDepth property.- Returns:
- possible object is
Integer
-
setPixelDepth
public void setPixelDepth(java.lang.Integer value)
Sets the value of the pixelDepth property.- Parameters:
value- allowed object isInteger
-
getPixelSkip
public java.lang.Integer getPixelSkip()
Gets the value of the pixelSkip property.- Returns:
- possible object is
Integer
-
setPixelSkip
public void setPixelSkip(java.lang.Integer value)
Sets the value of the pixelSkip property.- Parameters:
value- allowed object isInteger
-
getResolution
public XYPair getResolution()
Gets the value of the resolution property.- Returns:
- possible object is
String
-
setResolution
public void setResolution(XYPair value)
Sets the value of the resolution property.- Parameters:
value- allowed object isString
-
getOtherAttributes
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
withBandOrdering
public ByteMap withBandOrdering(ByteMap.BandOrdering value)
-
withFrameHeight
public ByteMap withFrameHeight(java.lang.Integer value)
-
withFrameWidth
public ByteMap withFrameWidth(java.lang.Integer value)
-
withHalftoned
public ByteMap withHalftoned(java.lang.Boolean value)
-
withInterleaved
public ByteMap withInterleaved(java.lang.Boolean value)
-
withPixelColorants
public ByteMap withPixelColorants(java.lang.String... values)
-
withPixelColorants
public ByteMap withPixelColorants(java.util.Collection<java.lang.String> values)
-
withPixelDepth
public ByteMap withPixelDepth(java.lang.Integer value)
-
withPixelSkip
public ByteMap withPixelSkip(java.lang.Integer value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-