org.codehaus.enunciate.template.strategies.jaxws
Class EndpointInterfaceLoopStrategy

java.lang.Object
  extended by net.sf.jelly.apt.strategies.TemplateStrategyControl<B>
      extended by net.sf.jelly.apt.strategies.TemplateBlockStrategy<B>
          extended by net.sf.jelly.apt.strategies.TemplateLoopStrategy<L,net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>
              extended by org.codehaus.enunciate.template.strategies.EnunciateTemplateLoopStrategy<EndpointInterface>
                  extended by org.codehaus.enunciate.template.strategies.jaxws.EndpointInterfaceLoopStrategy
All Implemented Interfaces:
net.sf.jelly.apt.strategies.TemplateStrategy<net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>

public class EndpointInterfaceLoopStrategy
extends EnunciateTemplateLoopStrategy<EndpointInterface>

Loop through each endpoint interface of a given WSDL.

Author:
Ryan Heaton

Constructor Summary
EndpointInterfaceLoopStrategy()
           
 
Method Summary
protected  java.util.Iterator<EndpointInterface> getLoop(net.sf.jelly.apt.TemplateModel model)
           
 java.lang.String getVar()
          The variable to which to assing the current endpoint interface.
 WsdlInfo getWsdl()
          The WSDL from which to iterate over each endpoint interface.
 boolean isConsiderFacets()
           
 void setConsiderFacets(boolean considerFacets)
           
protected  void setupModelForLoop(net.sf.jelly.apt.TemplateModel model, EndpointInterface endpointInterface, int index)
           
 void setVar(java.lang.String var)
          The variable to which to assing the current endpoint interface.
 void setWsdl(WsdlInfo wsdl)
          The WSDL from which to iterate over each endpoint interface.
 
Methods inherited from class org.codehaus.enunciate.template.strategies.EnunciateTemplateLoopStrategy
getAnnotationProcessorEnvironment, getIdsToJsonSchemas, getModel, getNamespacesToPrefixes, getNamespacesToSchemas, getNamespacesToWSDLs, isVerbose, lookupPrefix, lookupSchema, lookupWSDL
 
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
 

Constructor Detail

EndpointInterfaceLoopStrategy

public EndpointInterfaceLoopStrategy()
Method Detail

getLoop

protected java.util.Iterator<EndpointInterface> getLoop(net.sf.jelly.apt.TemplateModel model)
                                                 throws net.sf.jelly.apt.TemplateException
Specified by:
getLoop in class net.sf.jelly.apt.strategies.TemplateLoopStrategy<EndpointInterface,net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>
Throws:
net.sf.jelly.apt.TemplateException

setupModelForLoop

protected void setupModelForLoop(net.sf.jelly.apt.TemplateModel model,
                                 EndpointInterface endpointInterface,
                                 int index)
                          throws net.sf.jelly.apt.TemplateException
Overrides:
setupModelForLoop in class net.sf.jelly.apt.strategies.TemplateLoopStrategy<EndpointInterface,net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>
Throws:
net.sf.jelly.apt.TemplateException

getWsdl

public WsdlInfo getWsdl()
The WSDL from which to iterate over each endpoint interface.

Returns:
The WSDL from which to iterate over each endpoint interface.

setWsdl

public void setWsdl(WsdlInfo wsdl)
The WSDL from which to iterate over each endpoint interface.

Parameters:
wsdl - The WSDL from which to iterate over each endpoint interface.

getVar

public java.lang.String getVar()
The variable to which to assing the current endpoint interface.

Returns:
The variable to which to assing the current endpoint interface.

setVar

public void setVar(java.lang.String var)
The variable to which to assing the current endpoint interface.

Parameters:
var - The variable to which to assing the current endpoint interface.

isConsiderFacets

public boolean isConsiderFacets()

setConsiderFacets

public void setConsiderFacets(boolean considerFacets)