|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXMLBodyTag
This interface defines the methods that a class
must implement in order to create a custom XML
body tag. It works in the same general way
as the IDynamicTag
interface, but it uses
different method names that are unlikely to collide
with JSP, should a class choose to implement both
BodyTagSupport
and IXMLBodyTag
.
Seed
interface, the
Seed.Execute(FTValList vIn, FTValList vOut)
method will never
be invoked. More importantly, the interface will be changed to no longer
extend Seed
in a future version. No implementations should
under any circumstances depend on the fact that this interface extends
the Seed interface.
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 |
java.lang.String |
Execute(FTValList vIn,
FTValList vOut)
Deprecated. The execute method of this interface will never be invoked and it should always return null. |
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 |
setIXMLBodyTagParent(IXMLBodyTag parent)
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 |
Field Detail |
---|
static final int EVALUATE_COMPLETE
static final int EVALUATE_BODY
Method Detail |
---|
int endTag(ICS ics, java.lang.String sTagName, FTValList vIn)
ics
- interface to Content ServersTagName
- name of the tagvIn
- input attributes
boolean isCaseSensitive()
boolean isReplaceRequired()
void setIXMLBodyTagParent(IXMLBodyTag parent)
parent
- parent tag classint startTag(ICS ics, java.lang.String sTagName, FTValList vIn, java.lang.String sCData)
ics
- interface to Content ServersTagName
- name of the tagvIn
- input attributessCData
- compressed child tags
java.lang.String Execute(FTValList vIn, FTValList vOut)
Execute
in interface Seed
vIn
- a FTValList
with input variables.vOut
- a FTValList
output variables to
to set within script engine scope. Note that the
script engine returns errors as < 0 values.
String
value to stream back from
within script engine scope (null is fine)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |