Skip to main content
summaryrefslogtreecommitdiffstats
blob: 6ed7e53e2e82c0d9b77403cff63c3e9d4ce12f85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<%@jet class="WriteTextElementTemplate" %>
<%@jet imports="org.eclipse.jet.compiler.TextElement"%>
<%@jet imports="org.eclipse.jet.internal.JavaUtil"%>
<%
final String indent = (String)context.getVariable("indent"); //$NON-NLS-1$
final TextElement text = (TextElement)context.getVariable("element"); //$NON-NLS-1$
%>
<% if(text.getText().length > 0) { %>
<%= indent %>out.write( <%= JavaUtil.asJavaQuotedString(text.getText()) %> ); //$NON-NLS-1$
<% } %>

Back to the top