|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.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<java.util.List<ResourceMethod>>
org.codehaus.enunciate.template.strategies.rest.ResourceMethodsByPathLoopStrategy
public class ResourceMethodsByPathLoopStrategy
Strategy for looping through all sets of resource methods, grouped by path.
| Constructor Summary | |
|---|---|
ResourceMethodsByPathLoopStrategy()
|
|
| Method Summary | |
|---|---|
protected java.util.Iterator<java.util.List<ResourceMethod>> |
getLoop(net.sf.jelly.apt.TemplateModel model)
|
java.lang.String |
getVar()
The variable into which to store the current REST endpoint. |
boolean |
isIncludeExcludedFromDocs()
Whether to include resource methods that have been excluded from the docs. |
boolean |
isIncludeExcludedFromIDL()
Whether to include resource methods that have been excluded from the IDL. |
void |
setIncludeExcludedFromDocs(boolean includeExcludedFromDocs)
Whether to include resource methods that have been excluded from the docs. |
void |
setIncludeExcludedFromIDL(boolean includeExcludedFromIDL)
Whether to include resource methods that have been excluded from the IDL. |
protected void |
setupModelForLoop(net.sf.jelly.apt.TemplateModel model,
java.util.List<ResourceMethod> resources,
int index)
|
void |
setVar(java.lang.String var)
The variable into which to store the current REST endpoint. |
| 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 |
|---|
public ResourceMethodsByPathLoopStrategy()
| Method Detail |
|---|
protected java.util.Iterator<java.util.List<ResourceMethod>> getLoop(net.sf.jelly.apt.TemplateModel model)
throws net.sf.jelly.apt.TemplateException
getLoop in class net.sf.jelly.apt.strategies.TemplateLoopStrategy<java.util.List<ResourceMethod>,net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>net.sf.jelly.apt.TemplateException
protected void setupModelForLoop(net.sf.jelly.apt.TemplateModel model,
java.util.List<ResourceMethod> resources,
int index)
throws net.sf.jelly.apt.TemplateException
setupModelForLoop in class net.sf.jelly.apt.strategies.TemplateLoopStrategy<java.util.List<ResourceMethod>,net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>net.sf.jelly.apt.TemplateExceptionpublic java.lang.String getVar()
public void setVar(java.lang.String var)
var - The variable into which to store the current REST endpoint.public boolean isIncludeExcludedFromDocs()
ExcludeFromDocumentationpublic void setIncludeExcludedFromDocs(boolean includeExcludedFromDocs)
includeExcludedFromDocs - Whether to include resource methods that have been excluded from the docs.public boolean isIncludeExcludedFromIDL()
ExcludeFromDocumentation.excludeFromIDL()public void setIncludeExcludedFromIDL(boolean includeExcludedFromIDL)
includeExcludedFromIDL - Whether to include resource methods that have been excluded from the IDL.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||