com.atlassian.confluence.plugins.soy
Class DocLinkFunction

java.lang.Object
  extended by com.atlassian.confluence.plugins.soy.DocLinkFunction
All Implemented Interfaces:
com.atlassian.soy.renderer.SoyClientFunction, com.atlassian.soy.renderer.SoyFunction, com.atlassian.soy.renderer.SoyServerFunction<String>

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

Soy Function to look up documentation links.


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

Constructor Detail

DocLinkFunction

public DocLinkFunction(DocumentationBeanFactory documentationBeanFactory)
Method Detail

getName

public String getName()
Specified by:
getName in interface com.atlassian.soy.renderer.SoyFunction

apply

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

validArgSizes

public Set<Integer> validArgSizes()
Specified by:
validArgSizes in interface com.atlassian.soy.renderer.SoyFunction

generate

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


Copyright © 2003–2015 Atlassian. All rights reserved.