org.springframework.extensions.webscripts
Class FormatModel

java.lang.Object
  extended by org.springframework.extensions.webscripts.FormatModel

public final class FormatModel
extends Object

Format Model This class is immutable.

Author:
davidc

Method Summary
 String getName()
          Gets the format name
 String getType()
          Gets the format mime/content type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
Gets the format name

Returns:
format name

getType

public String getType()
Gets the format mime/content type

Returns:
mime/content type


Copyright © 2009 SpringSource, Inc. All Rights Reserved.