Methods

Table 83 summarizes the methods of the ContentType class.

Table 83.

Member methods of the ContentType class
Member method Description Page
ContentType() Creates a content-type object. ContentType()
equals() Compares two content-type objects. equals()
from_int() Generates a content-type object for a specified ordinal value. from_int()
toString() Returns a literal representation of the current content-type object. toString()
value() Returns an ordinal value for the current content type. value()
xmlObject() Generates an XML object that represents the current content-type object. xmlObject()

Copyright IBM Corp. 1997, 2003