org.codehaus.enunciate.template.strategies.jaxws
Class BindingTypeLoopStrategy
java.lang.Object
net.sf.jelly.apt.strategies.TemplateStrategyControl<B>
net.sf.jelly.apt.strategies.TemplateBlockStrategy<B>
net.sf.jelly.apt.strategies.TemplateLoopStrategy<L,net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>
org.codehaus.enunciate.template.strategies.EnunciateTemplateLoopStrategy<BindingType>
org.codehaus.enunciate.template.strategies.jaxws.BindingTypeLoopStrategy
- All Implemented Interfaces:
- net.sf.jelly.apt.strategies.TemplateStrategy<net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>
public class BindingTypeLoopStrategy
- extends EnunciateTemplateLoopStrategy<BindingType>
Loop through the binding types of a given endpoint interface.
- Author:
- Ryan Heaton
| Methods inherited from class net.sf.jelly.apt.strategies.TemplateLoopStrategy |
preProcess, processBody |
| Methods inherited from class net.sf.jelly.apt.strategies.TemplateBlockStrategy |
postProcess |
| Methods inherited from class net.sf.jelly.apt.strategies.TemplateStrategyControl |
invoke |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindingTypeLoopStrategy
public BindingTypeLoopStrategy()
getLoop
protected java.util.Iterator<BindingType> getLoop(net.sf.jelly.apt.TemplateModel model)
throws net.sf.jelly.apt.TemplateException
- Specified by:
getLoop in class net.sf.jelly.apt.strategies.TemplateLoopStrategy<BindingType,net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>
- Throws:
net.sf.jelly.apt.TemplateException
setupModelForLoop
protected void setupModelForLoop(net.sf.jelly.apt.TemplateModel model,
BindingType bindingType,
int index)
throws net.sf.jelly.apt.TemplateException
- Overrides:
setupModelForLoop in class net.sf.jelly.apt.strategies.TemplateLoopStrategy<BindingType,net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>
- Throws:
net.sf.jelly.apt.TemplateException
getVar
public java.lang.String getVar()
- The variable into which to store the binding type.
- Returns:
- The variable into which to store the binding type.
setVar
public void setVar(java.lang.String var)
- The variable into which to store the binding type.
- Parameters:
var - The variable into which to store the binding type.
getEndpointInterface
public EndpointInterface getEndpointInterface()
- The endpoint interface for which to iterate over each binding type.
- Returns:
- The endpoint interface for which to iterate over each binding type.
setEndpointInterface
public void setEndpointInterface(EndpointInterface endpointInterface)
- The endpoint interface for which to iterate over each binding type.
- Parameters:
endpointInterface - The endpoint interface for which to iterate over each binding type.