|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.template.freemarker.ClientPackageForMethod
org.codehaus.enunciate.template.freemarker.ClassnameForMethod
public class ClassnameForMethod
Used to output a reference for an accessor or parameter or declaration.
| Field Summary |
|---|
| Fields inherited from interface freemarker.template.TemplateModel |
|---|
NOTHING |
| Constructor Summary | |
|---|---|
ClassnameForMethod(java.util.Map<java.lang.String,java.lang.String> conversions)
|
|
| Method Summary | |
|---|---|
java.lang.String |
convert(Accessor accessor)
Converts the type of an accessor. |
java.lang.String |
convert(ImplicitChildElement childElement)
Converts the specified implicit child element. |
java.lang.String |
convert(com.sun.mirror.declaration.PackageDeclaration packageDeclaration)
Converts the package declaration to its client-side package value. |
java.lang.String |
convert(com.sun.mirror.declaration.TypeDeclaration declaration)
Returns the client-side package value for the given type declaration. |
java.lang.String |
convert(com.sun.mirror.type.TypeMirror typeMirror)
Returns the client-side package value for the given type. |
java.lang.String |
convert(com.sun.mirror.declaration.TypeParameterDeclaration typeParameterDeclaration)
Converts the specified type parameter declaration. |
protected java.lang.String |
convertPackage(com.sun.mirror.declaration.PackageDeclaration pkg)
|
java.lang.String |
convertUnwrappedObject(java.lang.Object unwrapped)
Converts an unwrapped object. |
java.lang.Object |
exec(java.util.List list)
Gets the client-side package for the type, type declaration, package, or their string values. |
protected java.lang.String |
getPackageSeparator()
|
boolean |
isJdk15()
Whether this converter is enabled to output jdk 15 compatible classes. |
void |
setJdk15(boolean jdk15)
Whether this converter is enabled to output jdk 15 compatible classes. |
| Methods inherited from class org.codehaus.enunciate.template.freemarker.ClientPackageForMethod |
|---|
convert, isUseClientNameConversions, setUseClientNameConversions, unwrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassnameForMethod(java.util.Map<java.lang.String,java.lang.String> conversions)
| Method Detail |
|---|
public java.lang.Object exec(java.util.List list)
throws freemarker.template.TemplateModelException
ClientPackageForMethod
exec in interface freemarker.template.TemplateMethodModelexec in interface freemarker.template.TemplateMethodModelExexec in class ClientPackageForMethodlist - The arguments.
freemarker.template.TemplateModelException
public java.lang.String convertUnwrappedObject(java.lang.Object unwrapped)
throws freemarker.template.TemplateModelException
ClientPackageForMethod
convertUnwrappedObject in class ClientPackageForMethodunwrapped - The unwrapped object to convert.
freemarker.template.TemplateModelException
public java.lang.String convert(com.sun.mirror.declaration.TypeParameterDeclaration typeParameterDeclaration)
throws freemarker.template.TemplateModelException
typeParameterDeclaration - The type parameter declaration.
freemarker.template.TemplateModelException
public java.lang.String convert(ImplicitChildElement childElement)
throws freemarker.template.TemplateModelException
childElement - The implicit child element.
freemarker.template.TemplateModelException
public java.lang.String convert(Accessor accessor)
throws freemarker.template.TemplateModelException
accessor - The accessor.
freemarker.template.TemplateModelException
public java.lang.String convert(com.sun.mirror.type.TypeMirror typeMirror)
throws freemarker.template.TemplateModelException
ClientPackageForMethod
convert in class ClientPackageForMethodtypeMirror - The type.
freemarker.template.TemplateModelException - If the type mirror cannot be converted for some reason.
public java.lang.String convert(com.sun.mirror.declaration.TypeDeclaration declaration)
throws freemarker.template.TemplateModelException
ClientPackageForMethod
convert in class ClientPackageForMethoddeclaration - The declaration.
freemarker.template.TemplateModelExceptionprotected java.lang.String convertPackage(com.sun.mirror.declaration.PackageDeclaration pkg)
protected java.lang.String getPackageSeparator()
public java.lang.String convert(com.sun.mirror.declaration.PackageDeclaration packageDeclaration)
ClientPackageForMethod
convert in class ClientPackageForMethodpackageDeclaration - The package declaration.
public boolean isJdk15()
public void setJdk15(boolean jdk15)
jdk15 - Whether this converter is enabled to output jdk 15 compatible classes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||