org.codehaus.enunciate.modules.docs
Class JsonSchemaForType

java.lang.Object
  extended by org.codehaus.enunciate.modules.docs.JsonSchemaForType
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class JsonSchemaForType
extends java.lang.Object
implements freemarker.template.TemplateMethodModelEx

Finds the schema for a given JSON type.

Author:
Steven Cummings

Field Summary
static java.lang.String NAME
          Method name.
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
JsonSchemaForType(EnunciateFreemarkerModel model)
           
 
Method Summary
 JsonSchemaInfo exec(java.util.List arguments)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
Method name.

See Also:
Constant Field Values
Constructor Detail

JsonSchemaForType

public JsonSchemaForType(EnunciateFreemarkerModel model)
Method Detail

exec

public JsonSchemaInfo exec(java.util.List arguments)
                    throws freemarker.template.TemplateModelException

Specified by:
exec in interface freemarker.template.TemplateMethodModel
Specified by:
exec in interface freemarker.template.TemplateMethodModelEx
Throws:
freemarker.template.TemplateModelException