org.openmobilealliance.schema.sti.v1_0
Class Image

java.lang.Object
  extended by org.openmobilealliance.schema.sti.v1_0.Media
      extended by org.openmobilealliance.schema.sti.v1_0.Image
All Implemented Interfaces:
java.io.Serializable

public class Image
extends Media
implements java.io.Serializable

Contains image-specific transcoding params data.

Java class for Image complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Image">
   <complexContent>
     <extension base="{http://www.openmobilealliance.org/schema/sti/v1_0}Media">
       <sequence>
         <element name="codec" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="codecParams" type="{http://www.openmobilealliance.org/schema/sti/v1_0}Properties" minOccurs="0"/>
         <element name="colorScheme" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="scheme" type="{http://www.w3.org/2001/XMLSchema}token"/>
                   <element name="depth" type="{http://www.openmobilealliance.org/schema/sti/v1_0}nonNegativeInt"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="width" type="{http://www.openmobilealliance.org/schema/sti/v1_0}nonNegativeInt" minOccurs="0"/>
         <element name="height" type="{http://www.openmobilealliance.org/schema/sti/v1_0}nonNegativeInt" minOccurs="0"/>
         <element name="resizeDirective" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="upsizeAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Nested Class Summary
static class Image.ColorScheme
          Java class for anonymous complex type.
 
Constructor Summary
Image()
           
 
Method Summary
 java.lang.String getCodec()
          Gets the value of the codec property.
 Properties getCodecParams()
          Gets the value of the codecParams property.
 Image.ColorScheme getColorScheme()
          Gets the value of the colorScheme property.
 java.lang.Integer getHeight()
          Gets the value of the height property.
 java.lang.String getResizeDirective()
          Gets the value of the resizeDirective property.
 java.lang.Integer getWidth()
          Gets the value of the width property.
 boolean isSetCodec()
           
 boolean isSetCodecParams()
           
 boolean isSetColorScheme()
           
 boolean isSetHeight()
           
 boolean isSetResizeDirective()
           
 boolean isSetUpsizeAllowed()
           
 boolean isSetWidth()
           
 java.lang.Boolean isUpsizeAllowed()
          Gets the value of the upsizeAllowed property.
 void setCodec(java.lang.String value)
          Sets the value of the codec property.
 void setCodecParams(Properties value)
          Sets the value of the codecParams property.
 void setColorScheme(Image.ColorScheme value)
          Sets the value of the colorScheme property.
 void setHeight(java.lang.Integer value)
          Sets the value of the height property.
 void setResizeDirective(java.lang.String value)
          Sets the value of the resizeDirective property.
 void setUpsizeAllowed(java.lang.Boolean value)
          Sets the value of the upsizeAllowed property.
 void setWidth(java.lang.Integer value)
          Sets the value of the width property.
 
Methods inherited from class org.openmobilealliance.schema.sti.v1_0.Media
getContentType, getContentTypeParams, getExtensionData, getSizeLimit, getTransformations, isSetContentType, isSetContentTypeParams, isSetExtensionData, isSetSizeLimit, isSetTransformations, setContentType, setContentTypeParams, setExtensionData, setSizeLimit, setTransformations
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image()
Method Detail

getCodec

public java.lang.String getCodec()
Gets the value of the codec property.

Returns:
possible object is String

setCodec

public void setCodec(java.lang.String value)
Sets the value of the codec property.

Parameters:
value - allowed object is String

isSetCodec

public boolean isSetCodec()

getCodecParams

public Properties getCodecParams()
Gets the value of the codecParams property.

Returns:
possible object is Properties

setCodecParams

public void setCodecParams(Properties value)
Sets the value of the codecParams property.

Parameters:
value - allowed object is Properties

isSetCodecParams

public boolean isSetCodecParams()

getColorScheme

public Image.ColorScheme getColorScheme()
Gets the value of the colorScheme property.

Returns:
possible object is Image.ColorScheme

setColorScheme

public void setColorScheme(Image.ColorScheme value)
Sets the value of the colorScheme property.

Parameters:
value - allowed object is Image.ColorScheme

isSetColorScheme

public boolean isSetColorScheme()

getWidth

public java.lang.Integer getWidth()
Gets the value of the width property.

Returns:
possible object is Integer

setWidth

public void setWidth(java.lang.Integer value)
Sets the value of the width property.

Parameters:
value - allowed object is Integer

isSetWidth

public boolean isSetWidth()

getHeight

public java.lang.Integer getHeight()
Gets the value of the height property.

Returns:
possible object is Integer

setHeight

public void setHeight(java.lang.Integer value)
Sets the value of the height property.

Parameters:
value - allowed object is Integer

isSetHeight

public boolean isSetHeight()

getResizeDirective

public java.lang.String getResizeDirective()
Gets the value of the resizeDirective property.

Returns:
possible object is String

setResizeDirective

public void setResizeDirective(java.lang.String value)
Sets the value of the resizeDirective property.

Parameters:
value - allowed object is String

isSetResizeDirective

public boolean isSetResizeDirective()

isUpsizeAllowed

public java.lang.Boolean isUpsizeAllowed()
Gets the value of the upsizeAllowed property.

Returns:
possible object is Boolean

setUpsizeAllowed

public void setUpsizeAllowed(java.lang.Boolean value)
Sets the value of the upsizeAllowed property.

Parameters:
value - allowed object is Boolean

isSetUpsizeAllowed

public boolean isSetUpsizeAllowed()