Skip to main content
summaryrefslogblamecommitdiffstats
blob: c0fe1baf4bbcbcfbe9107e91733f50bf8c786248 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                                                                                                                                                                             
<%@jet class="XMLStartGenerator" %>
<%@jet imports="org.eclipse.jet.internal.compiler.GenXMLElement"%>
<%
	GenXMLElement element = (GenXMLElement) context.getVariable("element"); //$NON-NLS-1$
%>
<c:get select="$indent"/>RuntimeTagElement <%= element.getTagVariable() %> = context.getTagFactory().createRuntimeTag(_jetns_<%= element.getNSPrefix() %>, "<%= element.getTagNCName() %>", "<%= element.getName() %>", <%= element.getTagInfoVariable() %>);
<c:get select="$indent"/><%= element.getTagVariable() %>.setRuntimeParent(<%= element.getParentTagVariable() %>);
<c:get select="$indent"/><%= element.getTagVariable() %>.setTagInfo(<%= element.getTagInfoVariable() %>);
<c:get select="$indent"/><%= element.getTagVariable() %>.doStart(context, out);
<%  if(element.hasBody()) { %>
<%     if(element.requiresNewWriter()) { %>
<c:get select="$indent"/>JET2Writer <%= element.getTagVariable() %>_saved_out = out;
<%     } %>
<c:get select="$indent"/>while (<%= element.getTagVariable() %>.okToProcessBody()) {
<%     if(element.requiresNewWriter()) { %>
<c:get select="$indent"/>    out = out.newNestedContentWriter();
<%     } %>
<%  } %>

Back to the top