Skip to main content
summaryrefslogblamecommitdiffstats
blob: 2b15aa8e35026333784ef89ed8ffa4158149d14d (plain) (tree)
1
2
3
4
5



                                                                        
                                                                                      





















                                                                                                                                                                                              



                                                                                                  


                             



                                                                                                                                                       


                             



                                                                                      









                                                                                          



                                                                                                    


                             



                                                                                      


                             



                                                                                    


                             



                                                                                                   









                                                                                                                                        






                                                                                                                  



                                                                                                                                                       


                             



                                                                                                                                       









                                                                                                                            



                                                                                                    


                             



                                                                                    









                                                                                                                 






                                                                                                






                                                                                                                          



                                                                                                        


                             



                                                                                                                        


                             



                                                                                                       


                             



                                                                                                                             








                                                                                                      



























                                                                                                                                                            
















                                                                                                
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="STYLESHEET" href="../../../book.css" charset="ISO-8859-1" type="text/css"/>
<TITLE>overview.html</TITLE>
</HEAD>
<BODY>
<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">

	<TBODY>
		<TR>
			<TH align="left">
			<P>Overview</P>
			</TH>
			<TH align="right">Standard JET2 Control Tags</TH>
		</TR>
	</TBODY>
</TABLE>
<P>controlTags</P>
<P><P>            Control flow and data management tags. This tags allow templates to evaluate conditions, perform loops and access and set information in the template input.<P>         </P>
<HR>
<TABLE border="1" width="100%">
	<TBODY>
		<TR>
			<TH colspan="2" align="left">Tag Summary</TH></TR>
		<TR>
			<TD width="10%"><A href="addElementTag.html">&lt;c:addElement&gt;</A></TD>
			<TD><!--	Begin addElement description -->
			<P>               Create a new model element under the selected node
			<!--	End addElement description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="addTextElementTag.html">&lt;c:addTextElement&gt;</A></TD>
			<TD><!--	Begin addTextElement description -->
			<P>               Create a new model element node under the selected element, and whose text content is the content of this tag
			<!--	End addTextElement description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="caseTag.html">&lt;c:case&gt;</A></TD>
			<TD><!--	Begin case description -->
			<P>               *** DEPRECATED  - use 'when' tag instead
			<!--	End case description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="chooseTag.html">&lt;c:choose&gt;</A></TD>
			<TD><!--	Begin choose description -->
			<P>               Define a group of mutually exclusive choices
			<!--	End choose description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="copyElementTag.html">&lt;c:copyElement&gt;</A></TD>
			<TD><!--	Begin copyElement description -->
			<P>               Copy the selected node to the selected location
			<!--	End copyElement description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="dumpTag.html">&lt;c:dump&gt;</A></TD>
			<TD><!--	Begin dump description -->
			Writes out the DOM subtree under a specified model node
			<!--	End dump description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="getTag.html">&lt;c:get&gt;</A></TD>
			<TD><!--	Begin get description -->
			<P>               Write a the result of an XPath expression
			<!--	End get description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="ifTag.html">&lt;c:if&gt;</A></TD>
			<TD><!--	Begin if description -->
			<P>               Process the tag contents if a test condition is satisfied
			<!--	End if description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="includeTag.html">&lt;c:include&gt;</A></TD>
			<TD><!--	Begin include description -->
			<P>               Process the referenced template, and include its results in the output of the current template
			<!--	End include description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="initialCodeTag.html">&lt;c:initialCode&gt;</A></TD>
			<TD><!--	Begin initialCode description -->
			<P>               A child tag of the 'userRegion' tag containing the initial code to write
			<!--	End initialCode description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="invokeTransformTag.html">&lt;c:invokeTransform&gt;</A></TD>
			<TD><!--	Begin invokeTransform description -->
			<P>               Invoke the another transformation, passing it the current transformation's source model and context variables
			<!--	End invokeTransform description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="iterateTag.html">&lt;c:iterate&gt;</A></TD>
			<TD><!--	Begin iterate description -->
			<P>               Write the tag contents for each in the template input model identified by an XPath expression
			<!--	End iterate description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="loadTag.html">&lt;c:load&gt;</A></TD>
			<TD><!--	Begin load description -->
			<P>               Load the referenced model, and set the passed variable to the loaded document root
			<!--	End load description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="loadContentTag.html">&lt;c:loadContent&gt;</A></TD>
			<TD><!--	Begin loadContent description -->
			Extends the model by parsing its contents as XML
			<!--	End loadContent description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="logTag.html">&lt;c:log&gt;</A></TD>
			<TD><!--	Begin log description -->
			<P>               Write a message to the transformation log
			<!--	End log description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="markerTag.html">&lt;c:marker&gt;</A></TD>
			<TD><!--	Begin marker description -->
			<P>               Create an Eclipse task marker refering to the text contained in the tag
			<!--	End marker description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="otherwiseTag.html">&lt;c:otherwise&gt;</A></TD>
			<TD><!--	Begin otherwise description -->
			<P>               Define a default case for a 'choose' tag
			<!--	End otherwise description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="overrideTag.html">&lt;c:override&gt;</A></TD>
			<TD><!--	Begin override description -->
			<P>               *** Deprecated: Use the 'overrides' attribute on 'transform' extension in plugin
			<!--	End override description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="removeElementTag.html">&lt;c:removeElement&gt;</A></TD>
			<TD><!--	Begin removeElement description -->
			<P>               Remove the selected node from the document tree
			<!--	End removeElement description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="replaceStringsTag.html">&lt;c:replaceStrings&gt;</A></TD>
			<TD><!--	Begin replaceStrings description -->
			Replaces one set of strings in its content with another set of strings and writes out the result
			<!--	End replaceStrings description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="setTag.html">&lt;c:set&gt;</A></TD>
			<TD><!--	Begin set description -->
			<P>               Set an attribute on an object selected by an XPath expression
			<!--	End set description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="setVariableTag.html">&lt;c:setVariable&gt;</A></TD>
			<TD><!--	Begin setVariable description -->
			<P>               Create a variable whose value is set to the result of the provided XPath expression
			<!--	End setVariable description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="stringTokensTag.html">&lt;c:stringTokens&gt;</A></TD>
			<TD><!--	Begin stringTokens description -->
			Parses a string into tokens and iterates over its content for each token
			<!--	End stringTokens description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="userRegionTag.html">&lt;c:userRegion&gt;</A></TD>
			<TD><!--	Begin userRegion description -->
			<P>               Define a region in the generated text where users may write customized code
			<!--	End userRegion description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="visitTag.html">&lt;c:visit&gt;</A></TD>
			<TD><!--	Begin visit description -->
			<P>               Define content to process for an object found by the parent 'visitor' tag, provided a condition is met
			<!--	End visit description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="visitorTag.html">&lt;c:visitor&gt;</A></TD>
			<TD><!--	Begin visitor description -->
			<P>               *** PROTOTYPE *** Iterate over an object and all its contained objects, typically be doing a depth-first traversal
			<!--	End visitor description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="whenTag.html">&lt;c:when&gt;</A></TD>
			<TD><!--	Begin when description -->
			<P>               Define a one of the mutually exclusive cases of a 'choose' tag
			<!--	End when description -->
			</TD>
		</TR>
	</TBODY>
</TABLE>
<HR>
<TABLE border="1" width="100%">
	<TBODY>
		<TR>
			<TH colspan="2" align="left">Example Directive</TH></TR>
		<TR>
			<TD width="10%"></TD>
			<TD><SPAN style="font-family: sans-serif"><SPAN
				style="font-family: monospace">&lt;%@taglib prefix=&quot;c&quot;
			id=&quot;org.eclipse.jet.controlTags&quot;%&gt;</SPAN></SPAN></TD>
		</TR>
	</TBODY>
</TABLE>
</BODY>
</HTML>

Back to the top