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

16 lines
979 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>32. Forecast Narrative Engine - Processing Rules</h3>
<hr>
<a href=Slide31.html>Previous Slide</a> <a href=Slide33.html>Next Slide</a> <br><img SRC=Slide32.JPG border=1><br></center>
<p><p><big>We have some simple rules that all tree methods must follow. First, they must check for the necessary data and if it's not available yet, return immediately. If the data is available, the method does its job and returns the special self.DONE() flag.<br> For example, the "assembleComponents" method checks to see if the "words" attribute for ALL of the child phrases have been set. If not, it simply returns. If so, it adds a time range label, assembles the component phrases, and returns the special self.DONE() flag so it will not be called again.<br><br><br></big>
</body>
</html>