public final class ShortQNameMethod extends BaseProcessorExtension implements freemarker.template.TemplateMethodModelEx
Usage: String shortQName(String longQName)
Constructor and Description |
---|
ShortQNameMethod() |
Modifier and Type | Method and Description |
---|---|
Object |
exec(List args) |
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry
|
getExtensionName, register, setExtensionName, setProcessor
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry
- the service registrypublic Object exec(List args) throws freemarker.template.TemplateModelException
exec
in interface freemarker.template.TemplateMethodModel
exec
in interface freemarker.template.TemplateMethodModelEx
freemarker.template.TemplateModelException
TemplateMethodModel.exec(java.util.List)
Copyright © 2005–2017 Alfresco Software. All rights reserved.