Skip navigation links


COM.FutureTense.Interfaces
Interface IDynamicTag

All Superinterfaces:
Seed

public interface IDynamicTag
extends Seed

Interface for classes implement dynamic XML tags. For consistency, we recommend implementing the IXMLBodyTag interface instead, as it can simplify implementations of custom tags that work in both XML and JSP.

However, this interface is functionally equivalent to IXMLBodyTag

See Also:
IXMLBodyTag

Field Summary
static int EVALUATE_BODY
          Define a return code to indicate that the body should be evaluated
static int EVALUATE_COMPLETE
          Define a return code to indicate that evaluation is complete

 

Fields inherited from interface COM.FutureTense.XML.Template.Seed
returnString

 

Method Summary
 int endTag(ICS ics, java.lang.String sTagName, FTValList vIn)
          Method to evaluate the end tag of a dynamic tag
 boolean isCaseSensitive()
          Method to see if the name and attributes are case sensitive
 boolean isReplaceRequired()
          Method to see if the attributes should have variables replaced
 void setParent(IDynamicTag oIDynamicTag)
          Method to set the parent of a tag
 int startTag(ICS ics, java.lang.String sTagName, FTValList vIn, java.lang.String sCData)
          Method to evaluate the start tag of a dynamic tag

 

Methods inherited from interface COM.FutureTense.XML.Template.Seed
Execute

 

Field Detail

EVALUATE_COMPLETE

static final int EVALUATE_COMPLETE
Define a return code to indicate that evaluation is complete
See Also:
Constant Field Values

EVALUATE_BODY

static final int EVALUATE_BODY
Define a return code to indicate that the body should be evaluated
See Also:
Constant Field Values

Method Detail

endTag

int endTag(ICS ics,
           java.lang.String sTagName,
           FTValList vIn)
Method to evaluate the end tag of a dynamic tag
Parameters:
ics - interface to Content Server
sTagName - name of the tag
vIn - input attributes
Returns:
return EVALUATE_BODY to continue body and end tag evaluation or EVALUATE_COMPLETE to complete evaluation.

isCaseSensitive

boolean isCaseSensitive()
Method to see if the name and attributes are case sensitive
Returns:
true to leave case false to force lower

isReplaceRequired

boolean isReplaceRequired()
Method to see if the attributes should have variables replaced
Returns:
true to replace variables in attributes otherwise return false

setParent

void setParent(IDynamicTag oIDynamicTag)
Method to set the parent of a tag
Parameters:
oIDynamicTag - parent tag class

startTag

int startTag(ICS ics,
             java.lang.String sTagName,
             FTValList vIn,
             java.lang.String sCData)
Method to evaluate the start tag of a dynamic tag
Parameters:
ics - interface to Content Server
sTagName - name of the tag
vIn - input attributes
sCData - compressed child tags
Returns:
return EVALUATE_BODY to evaluate the body and end tag or EVALUATE_COMPLETE to skip the body and end tag evaluation.

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.