Java 类org.apache.velocity.tools.view.context.ViewContext 实例源码

项目:generic-dotCMS-plugin-code-examples    文件:TemplateViewToolInfo.java   
@Override
public Object getInstance( Object object )
{
    //Logger.info( this, "Got to getInstance( Object )" );

    TemplateViewTool templateViewTool = new TemplateViewTool();
    templateViewTool.init( object );

    setScope( ViewContext.REQUEST );

    return templateViewTool;
}
项目:generic-dotCMS-plugin-code-examples    文件:TemplateViewToolInfo.java   
@Override
public String getScope()
{
    //Logger.info( this, "Got to getScope()" );

    return ViewContext.REQUEST;
}
项目:generic-dotCMS-plugin-code-examples    文件:SelfParsingBeanViewToolInfo.java   
@Override
public Object getInstance( Object object )
{
    //Logger.info( this, "Got to getInstance( Object )" );

    SelfParsingBeanViewTool selfParsingBeanViewTool = new SelfParsingBeanViewTool();
    selfParsingBeanViewTool.init( object );

    setScope( ViewContext.REQUEST );

    return selfParsingBeanViewTool;
}
项目:generic-dotCMS-plugin-code-examples    文件:SelfParsingBeanViewToolInfo.java   
@Override
public String getScope()
{
    //Logger.info( this, "Got to getScope()" );

    return ViewContext.REQUEST;
}
项目:generic-dotCMS-plugin-code-examples    文件:TemplateViewToolInfo.java   
@Override
public Object getInstance( Object object )
{
    //Logger.info( this, "Got to getInstance( Object )" );

    TemplateViewTool templateViewTool = new TemplateViewTool();
    templateViewTool.init( object );

    setScope( ViewContext.REQUEST );

    return templateViewTool;
}
项目:generic-dotCMS-plugin-code-examples    文件:TemplateViewToolInfo.java   
@Override
public String getScope()
{
    //Logger.info( this, "Got to getScope()" );

    return ViewContext.REQUEST;
}
项目:generic-dotCMS-plugin-code-examples    文件:SelfParsingBeanViewToolInfo.java   
@Override
public Object getInstance( Object object )
{
    //Logger.info( this, "Got to getInstance( Object )" );

    SelfParsingBeanViewTool selfParsingBeanViewTool = new SelfParsingBeanViewTool();
    selfParsingBeanViewTool.init( object );

    setScope( ViewContext.REQUEST );

    return selfParsingBeanViewTool;
}
项目:generic-dotCMS-plugin-code-examples    文件:SelfParsingBeanViewToolInfo.java   
@Override
public String getScope()
{
    //Logger.info( this, "Got to getScope()" );

    return ViewContext.REQUEST;
}
项目:generic-dotCMS-plugin-code-examples    文件:TemplateViewToolInfo.java   
@Override
public Object getInstance( Object object )
{
    //Logger.info( this, "Got to getInstance( Object )" );

    TemplateViewTool templateViewTool = new TemplateViewTool();
    templateViewTool.init( object );

    setScope( ViewContext.REQUEST );

    return templateViewTool;
}
项目:generic-dotCMS-plugin-code-examples    文件:TemplateViewToolInfo.java   
@Override
public String getScope()
{
    //Logger.info( this, "Got to getScope()" );

    return ViewContext.REQUEST;
}
项目:generic-dotCMS-plugin-code-examples    文件:SelfParsingBeanViewToolInfo.java   
@Override
public Object getInstance( Object object )
{
    //Logger.info( this, "Got to getInstance( Object )" );

    SelfParsingBeanViewTool selfParsingBeanViewTool = new SelfParsingBeanViewTool();
    selfParsingBeanViewTool.init( object );

    setScope( ViewContext.REQUEST );

    return selfParsingBeanViewTool;
}
项目:generic-dotCMS-plugin-code-examples    文件:SelfParsingBeanViewToolInfo.java   
@Override
public String getScope()
{
    //Logger.info( this, "Got to getScope()" );

    return ViewContext.REQUEST;
}
项目:generic-dotCMS-plugin-code-examples    文件:TemplateViewToolInfo.java   
@Override
public Object getInstance( Object object )
{
    //Logger.info( this, "Got to getInstance( Object )" );

    TemplateViewTool templateViewTool = new TemplateViewTool();
    templateViewTool.init( object );

    setScope( ViewContext.REQUEST );

    return templateViewTool;
}
项目:generic-dotCMS-plugin-code-examples    文件:TemplateViewToolInfo.java   
@Override
public String getScope()
{
    Logger.info( this, "Got to getScope()" );

    return ViewContext.REQUEST;
}
项目:generic-dotCMS-plugin-code-examples    文件:SelfParsingBeanViewToolInfo.java   
@Override
public Object getInstance( Object object )
{
    //Logger.info( this, "Got to getInstance( Object )" );

    SelfParsingBeanViewTool selfParsingBeanViewTool = new SelfParsingBeanViewTool();
    selfParsingBeanViewTool.init( object );

    setScope( ViewContext.REQUEST );

    return selfParsingBeanViewTool;
}
项目:generic-dotCMS-plugin-code-examples    文件:SelfParsingBeanViewToolInfo.java   
@Override
public String getScope()
{
    Logger.info( this, "Got to getScope()" );

    return ViewContext.REQUEST;
}
项目:plugin-xmltool-with-auth    文件:XmlAuthToolInfo.java   
@Override
public String getScope () {
    return ViewContext.APPLICATION;
}
项目:plugin-dotcms-oauth    文件:OAuthToolInfo.java   
@Override
public String getScope () {
    return ViewContext.APPLICATION;
}
项目:dotcms.plugins.geolocation    文件:GeoIPInfo.java   
@Override
public String getScope() {
    return ViewContext.APPLICATION;
}
项目:dotcms.plugins.spammenot    文件:SpamMeNotInfo.java   
@Override
public String getScope() {
    return ViewContext.APPLICATION;
}
项目:dotcms.plugins.twittertool    文件:TwitterToolInfo.java   
@Override
public String getScope() {
    return ViewContext.APPLICATION;
}
项目:plugin-dotcms-oauth    文件:OAuthToolInfo.java   
@Override
public Object getInstance ( Object initData ) {

    OAuthTool viewTool = new OAuthTool();
    viewTool.init( initData );

    setScope( ViewContext.APPLICATION );

    return viewTool;
}
项目:dotcms.plugins.geolocation    文件:GeoIPInfo.java   
@Override
public Object getInstance(Object initData) {

    GeoIP viewTool = new GeoIP();
    viewTool.init(initData);

    setScope(ViewContext.APPLICATION);

    return viewTool;
}
项目:dotcms.plugins.spammenot    文件:SpamMeNotInfo.java   
@Override
public Object getInstance(Object initData) {

    SpamMeNot viewTool = new SpamMeNot();
    viewTool.init(initData);

    setScope(ViewContext.APPLICATION);

    return viewTool;
}
项目:dotcms.plugins.twittertool    文件:TwitterToolInfo.java   
@Override
public Object getInstance(Object initData) {

    TwitterTool viewTool = new TwitterTool();
    viewTool.init(initData);

    setScope(ViewContext.APPLICATION);

    return viewTool;
}