com.ibm.portal.resolver.data
Enum ContentDispositionDataSource.DISPOSITION

java.lang.Object
  extended by java.lang.Enum<ContentDispositionDataSource.DISPOSITION>
      extended by com.ibm.portal.resolver.data.ContentDispositionDataSource.DISPOSITION
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContentDispositionDataSource.DISPOSITION>
Enclosing interface:
ContentDispositionDataSource

public static enum ContentDispositionDataSource.DISPOSITION
extends java.lang.Enum<ContentDispositionDataSource.DISPOSITION>

Possible content dispositions,


Enum Constant Summary
ATTACHMENT
          browser pops-up a dialog asking to save the item
INLINE
          browser tries to render the item in-line
NONE
          no content-disposition information is written
 
Method Summary
static ContentDispositionDataSource.DISPOSITION valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContentDispositionDataSource.DISPOSITION[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ATTACHMENT

public static final ContentDispositionDataSource.DISPOSITION ATTACHMENT
browser pops-up a dialog asking to save the item


INLINE

public static final ContentDispositionDataSource.DISPOSITION INLINE
browser tries to render the item in-line


NONE

public static final ContentDispositionDataSource.DISPOSITION NONE
no content-disposition information is written

Method Detail

values

public static ContentDispositionDataSource.DISPOSITION[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ContentDispositionDataSource.DISPOSITION c : ContentDispositionDataSource.DISPOSITION.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ContentDispositionDataSource.DISPOSITION valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null