FileDocCategorySizeDatePackage
DimeTypeNameFormat.javaAPI DocApache Axis 1.43003Sat Apr 22 18:57:28 BST 2006org.apache.axis.attachments

DimeTypeNameFormat

public final class DimeTypeNameFormat extends Object
This class is a single part for DIME mulitpart message.

Fields Summary
private byte
format
static final byte
NOCHANGE_VALUE
static final byte
MIME_VALUE
static final byte
URI_VALUE
static final byte
UNKNOWN_VALUE
static final byte
NODATA_VALUE
static final DimeTypeNameFormat
NOCHANGE
public static final DimeTypeNameFormat
MIME
public static final DimeTypeNameFormat
URI
public static final DimeTypeNameFormat
UNKNOWN
static final DimeTypeNameFormat
NODATA
private static String[]
toEnglish
private static DimeTypeNameFormat[]
fromByte
Constructors Summary
private DimeTypeNameFormat()

 
      
private DimeTypeNameFormat(byte f)

        format = f;
    
Methods Summary
public final booleanequals(java.lang.Object x)

        if (x == null)  {
            return false;
        }
        if (!(x instanceof DimeTypeNameFormat)) {
            return false;
        }
        return ((DimeTypeNameFormat) x).format == this.format;
    
public inthashCode()

        return (int) format;
    
public static org.apache.axis.attachments.DimeTypeNameFormatparseByte(byte x)

        if (x < 0 || x > fromByte.length) {
            throw new IllegalArgumentException(Messages.getMessage(
                        "attach.DimeStreamBadType", "" + x));
        }
        return fromByte[x];
    
public static org.apache.axis.attachments.DimeTypeNameFormatparseByte(java.lang.Byte x)

        return parseByte(x.byteValue());
    
public final bytetoByte()

        return format;
    
public final java.lang.StringtoString()


        
        return toEnglish[format];