org.alfresco.webservice.types
Class ContentFormat

java.lang.Object
  extended by org.alfresco.webservice.types.ContentFormat
All Implemented Interfaces:
java.io.Serializable

public class ContentFormat
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ContentFormat()
           
ContentFormat(java.lang.String mimetype, java.lang.String encoding)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getEncoding()
          Gets the encoding value for this ContentFormat.
 java.lang.String getMimetype()
          Gets the mimetype value for this ContentFormat.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setEncoding(java.lang.String encoding)
          Sets the encoding value for this ContentFormat.
 void setMimetype(java.lang.String mimetype)
          Sets the mimetype value for this ContentFormat.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentFormat

public ContentFormat()

ContentFormat

public ContentFormat(java.lang.String mimetype,
                     java.lang.String encoding)
Method Detail

getMimetype

public java.lang.String getMimetype()
Gets the mimetype value for this ContentFormat.

Returns:
mimetype * TODO: MinOccurs = 0? TODO: Define Constraints

setMimetype

public void setMimetype(java.lang.String mimetype)
Sets the mimetype value for this ContentFormat.

Parameters:
mimetype - * TODO: MinOccurs = 0? TODO: Define Constraints

getEncoding

public java.lang.String getEncoding()
Gets the encoding value for this ContentFormat.

Returns:
encoding * TODO: MinOccurs = 0? TODO: Define Constraints

setEncoding

public void setEncoding(java.lang.String encoding)
Sets the encoding value for this ContentFormat.

Parameters:
encoding - * TODO: MinOccurs = 0? TODO: Define Constraints

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

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

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.