|
|||||||||
| 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.lang.String>
org.codehaus.enunciate.modules.amf.AS3ImportStrategy
public class AS3ImportStrategy
Strategy for looping through the (unique) AS3 imports for a given declaration. If a WebMethod,
then the imports are those for the associated result event. If a EndpointInterface then the
unique imports include the result events and parameters. If a TypeDefinition, then the unique
imports include each of the type's properties.
| Constructor Summary | |
|---|---|
AS3ImportStrategy(AS3ClientClassnameForMethod classnameFor)
|
|
| Method Summary | |
|---|---|
protected void |
addComponentTypes(com.sun.mirror.type.TypeMirror type,
java.util.Set<java.lang.String> imports)
Add the component types of the given type mirror to the given set of imports. |
net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration |
getDeclaration()
The declaration for which to get the unique imports. |
protected java.util.Iterator<java.lang.String> |
getLoop(net.sf.jelly.apt.TemplateModel model)
|
java.lang.String |
getVar()
The variable into which to store the current import. |
boolean |
isIncludeComponentTypes()
Whether to add the component types of a collection or map. |
void |
setDeclaration(net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration declaration)
The declaration for which to get the unique imports. |
void |
setIncludeComponentTypes(boolean includeComponentTypes)
Whether to add the component types of a collection or map. |
protected void |
setupModelForLoop(net.sf.jelly.apt.TemplateModel model,
java.lang.String imprt,
int index)
|
void |
setVar(java.lang.String var)
The variable into which to store the current import. |
| 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 AS3ImportStrategy(AS3ClientClassnameForMethod classnameFor)
| Method Detail |
|---|
protected java.util.Iterator<java.lang.String> getLoop(net.sf.jelly.apt.TemplateModel model)
throws net.sf.jelly.apt.TemplateException
getLoop in class net.sf.jelly.apt.strategies.TemplateLoopStrategy<java.lang.String,net.sf.jelly.apt.freemarker.FreemarkerTemplateBlock>net.sf.jelly.apt.TemplateException
protected void addComponentTypes(com.sun.mirror.type.TypeMirror type,
java.util.Set<java.lang.String> imports)
throws freemarker.template.TemplateModelException
type - The type.imports - The imports.
freemarker.template.TemplateModelException
protected void setupModelForLoop(net.sf.jelly.apt.TemplateModel model,
java.lang.String imprt,
int index)
throws net.sf.jelly.apt.TemplateException
setupModelForLoop in class net.sf.jelly.apt.strategies.TemplateLoopStrategy<java.lang.String,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 import.public net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration getDeclaration()
public void setDeclaration(net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration declaration)
declaration - The declaration for which to get the unique imports.public boolean isIncludeComponentTypes()
public void setIncludeComponentTypes(boolean includeComponentTypes)
includeComponentTypes - Whether to add the component types of a collection or map.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||