com.fatwire.gst.foundation.include
Class IncludeTemplate

java.lang.Object
  extended by com.fatwire.gst.foundation.include.IncludeTemplate
All Implemented Interfaces:
Include

public class IncludeTemplate
extends Object
implements Include

Since:
Apr 13, 2011
Author:
Dolf Dijkstra

Field Summary
static List<String> FORBIDDEN_VARS
           
 
Constructor Summary
IncludeTemplate(COM.FutureTense.Interfaces.ICS ics, com.fatwire.assetapi.data.AssetId asset, String tname)
           
 
Method Summary
 IncludeTemplate argument(String name, String value)
           
 IncludeTemplate copyArguments(String... name)
          Copies the ics variables identified by the name array
 IncludeTemplate element()
          Sets Style to element
 IncludeTemplate embedded()
          Sets Style to embedded
 void include(COM.FutureTense.Interfaces.ICS ics)
           
 IncludeTemplate packedargs(String s)
          Adds packedargs.
 IncludeTemplate pagelet()
          Sets Style to pagelet
 IncludeTemplate style(CallTemplate.Style s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORBIDDEN_VARS

public static final List<String> FORBIDDEN_VARS
Constructor Detail

IncludeTemplate

public IncludeTemplate(COM.FutureTense.Interfaces.ICS ics,
                       com.fatwire.assetapi.data.AssetId asset,
                       String tname)
Parameters:
ics - Content Server context
asset - asset to render
tname - template name
Method Detail

include

public void include(COM.FutureTense.Interfaces.ICS ics)
Specified by:
include in interface Include
Parameters:
ics - the Content Server context.

argument

public IncludeTemplate argument(String name,
                                String value)
Parameters:
name -
value -
Returns:
this
See Also:
TagRunnerWithRenderArguments.setArgument(java.lang.String, java.lang.String)

copyArguments

public IncludeTemplate copyArguments(String... name)
Copies the ics variables identified by the name array

Parameters:
name -
Returns:
this

packedargs

public IncludeTemplate packedargs(String s)
Adds packedargs.

Parameters:
s - packedargs
Returns:
this
See Also:
CallTemplate.setPackedargs(java.lang.String)

style

public IncludeTemplate style(CallTemplate.Style s)
Parameters:
s - style
Returns:
this
See Also:
CallTemplate.setStyle(com.fatwire.gst.foundation.facade.runtag.render.CallTemplate.Style)

element

public IncludeTemplate element()
Sets Style to element

Returns:
this

embedded

public IncludeTemplate embedded()
Sets Style to embedded

Returns:
this

pagelet

public IncludeTemplate pagelet()
Sets Style to pagelet

Returns:
this


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.