org.codehaus.enunciate.contract.json
Class JsonListTypeDefinition

java.lang.Object
  extended by org.codehaus.enunciate.contract.json.JsonListTypeDefinition
All Implemented Interfaces:
JsonType

public class JsonListTypeDefinition
extends java.lang.Object
implements JsonType

Json list type, with a specific element type.

Author:
Steven Cummings

Constructor Summary
JsonListTypeDefinition(JsonType elementType)
          Create a new JsonListTypeDefinition.
 
Method Summary
 java.lang.String getTypeName()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonListTypeDefinition

public JsonListTypeDefinition(JsonType elementType)
Create a new JsonListTypeDefinition.

Parameters:
elementType - List element type (must not be null).
Method Detail

getTypeName

public java.lang.String getTypeName()

Specified by:
getTypeName in interface JsonType
Returns:
Name of the JSON type.