com.atlassian.bamboo.soy
Class ToJsonSoyFunction

java.lang.Object
  extended by com.atlassian.bamboo.soy.ToJsonSoyFunction
All Implemented Interfaces:
com.atlassian.soy.renderer.SoyClientFunction, com.atlassian.soy.renderer.SoyServerFunction<java.lang.String>

public class ToJsonSoyFunction
extends java.lang.Object
implements com.atlassian.soy.renderer.SoyServerFunction<java.lang.String>, com.atlassian.soy.renderer.SoyClientFunction


Constructor Summary
ToJsonSoyFunction(Jsonator jsonator)
           
 
Method Summary
 java.lang.String apply(java.lang.Object... args)
           
 com.atlassian.soy.renderer.JsExpression generate(com.atlassian.soy.renderer.JsExpression... jsExpressions)
           
 java.lang.String getName()
           
 java.util.Set<java.lang.Integer> validArgSizes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToJsonSoyFunction

public ToJsonSoyFunction(Jsonator jsonator)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface com.atlassian.soy.renderer.SoyClientFunction
Specified by:
getName in interface com.atlassian.soy.renderer.SoyServerFunction<java.lang.String>

apply

public java.lang.String apply(java.lang.Object... args)
Specified by:
apply in interface com.atlassian.soy.renderer.SoyServerFunction<java.lang.String>

validArgSizes

public java.util.Set<java.lang.Integer> validArgSizes()
Specified by:
validArgSizes in interface com.atlassian.soy.renderer.SoyClientFunction
Specified by:
validArgSizes in interface com.atlassian.soy.renderer.SoyServerFunction<java.lang.String>

generate

public com.atlassian.soy.renderer.JsExpression generate(com.atlassian.soy.renderer.JsExpression... jsExpressions)
Specified by:
generate in interface com.atlassian.soy.renderer.SoyClientFunction


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.