Class 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.HashCode2

    Java 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
    • Field Detail

      • band

        protected Band band
      • 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
    • Constructor Detail

      • ByteMap

        public ByteMap()
    • Method Detail

      • getBand

        public Band getBand()
        Gets the value of the band property.
        Returns:
        possible object is Band
      • setBand

        public void setBand​(Band value)
        Sets the value of the band property.
        Parameters:
        value - allowed object is Band
      • 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 is Integer
      • 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 is Integer
      • 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 is Boolean
      • 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 is Boolean
      • 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 set method 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 is Integer
      • 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 is Integer
      • 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 is String
      • 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
      • 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)
      • withResolution

        public ByteMap withResolution​(XYPair 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object