awips2/cave/com.raytheon.viz.gfe/help/TextProductUserGuideNarrative/Slide101.html
2022-05-05 12:34:50 -05:00

16 lines
887 B
HTML

<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title></title>
</head>
<body>
<center>
<h2> Text Formatter User Guide for Narrative Products</h2>
<h3>101. Narrative Phrases - Word Method</h3>
<hr>
<a href=Slide100.html>Previous Slide</a> <a href=Slide102.html>Next Slide</a> <br><img SRC=Slide101.JPG border=1><br></center>
<p><p><big>Given a node and a text string of words, the setWords method first sets the "words" attribute for the given sub-phrase node: <br>&nbsp;&nbsp;&nbsp;&nbsp; node.set(.words., words)<br><br>Then it returns the "self.DONE()" flag so that the word method will not be called again. IT IS VERY IMPORTANT that a word method always return the "self.DONE()" flag. If it does not, an infinite loop could occur. We will look at this more closely in the Trouble-shooting section.<br><br><br></big>
</body>
</html>