dojox/mobile/dh/ContentTypeMap (version 1.10)

Summary

A component that provides a map for determining the content handler class from a content-type.

Property Summary

Method Summary

  • add(contentType,handlerClass) Adds a handler class for the given content type.
  • getHandlerClass(contentType) Returns the handler class for the given content type.

Properties

Methods

add(contentType,handlerClass)

Adds a handler class for the given content type.

Parameter Type Description
contentType String
handlerClass String
getHandlerClass(contentType)

Returns the handler class for the given content type.

Parameter Type Description
contentType String
Returns:undefined
Error in the documentation? Can’t find what you are looking for? Let us know!