Output this screen using HTML.
Override this to print your XML.
165621
public void printHtmlData(PrintWriter out, InputStream streamIn)
    {
        String str = null;
        if (streamIn != null)
            str = Utility.transferURLStream(null, null, new InputStreamReader(streamIn));
        if ((str == null) || (str.length() == 0))
            str = this.getDefaultXML();
        this.parseHtmlData(out, str);
    }
1031584
protected void printNode()
	{
		System.out.println(this.depth+", "+this.splitAttribute+", "+this.splitValue+", "+this.r);
		
		if(this.internalNode)
		{
			this.right.printNode();
			this.left.printNode();
		}
	}
276635
def xmlprint(element):
    
    if isinstance(element, (etree._Element, etree._ElementTree)):
        print etree.tostring(element, pretty_print=True)
    else:
        if hasattr(element, 'xml'):
            print etree.tostring(element.xml, pretty_print=True)
223790
public void printDisplayControl(PrintWriter out)
    {
        if (this.getScreenField().getConverter() == null)
            return;
        String strField = Utility.encodeXML(this.getScreenField().getSFieldValue(true, false));
        if ((strField == null) || (strField.length() == 0))
            strField = "&nbsp;";    //?"<br>";
        String strHyperlink = ((Converter)this.getScreenField().getConverter()).getHyperlink();
        if (strHyperlink != null) if (strHyperlink.length() > 0)
            strField = "<a href=\"" + strHyperlink + "\">" + strField + "<a>";
        String strAlignment = this.getControlAlignment();
        out.println("<td" + strAlignment + ">" + strField + "</td>");
    }
385955
def _generate_html(data, out):
    '''
    
    '''
    print('<html>', file=out)
    print('<body>', file=out)
    _generate_html_table(data, out, 0)
    print('</body>', file=out)
    print('</html>', file=out)
953158
public boolean printControl(PrintWriter out, int iPrintOptions)
    {
        boolean bFieldsFound = true;    // This will keep screen from printing (non-existent sub-fields)
        MenusModel recMenus = (MenusModel)((BaseMenuScreen)this.getScreenField()).getMainRecord();
        
        if ((recMenus.getField(MenusModel.XML_DATA).isNull()) || (recMenus.getField(MenusModel.XML_DATA).toString().startsWith("<HTML>")) || (recMenus.getField(Menus.XML_DATA).toString().startsWith("<html>")))
        {
            String filename = ((PropertiesField)recMenus.getField(MenusModel.PARAMS)).getProperty(DBParams.XML);
            if ((filename != null) && (filename.length() > 0))
            {
                InputStream streamIn = this.getTask().getInputStream(filename);
                if (streamIn == null)
                {
                	Utility.getLogger().warning("XmlFile not found " + filename);
                	return false;
                }
                String str = Utility.transferURLStream(null, null, new InputStreamReader(streamIn));
                recMenus.getField(MenusModel.XML_DATA).setString(str);
            }
        }
        if (!recMenus.getField(MenusModel.XML_DATA).isNull())
        {
            String str = recMenus.getField(Menus.XML_DATA).toString();
            str = Utility.replaceResources(str, null, null, (BaseMenuScreen)this.getScreenField());
            recMenus.getField(MenusModel.XML_DATA).setString(str);
        }

        String strContentArea = recMenus.getSubMenuXML();
        out.println(strContentArea);

        return bFieldsFound;
    }
1282780
public void printXMLHeaderInfo(PrintWriter out, ResourceBundle reg)
    {
        String strTitle = this.getProperty("title");                // Menu page
        if ((strTitle == null) || (strTitle.length() == 0))
            strTitle = ((BasePanel)this.getScreenField()).getTitle();
        out.println(Utility.startTag(XMLTags.TITLE) + strTitle + Utility.endTag(XMLTags.TITLE));
        String strKeywords = this.getKeywords();
        if ((strKeywords != null) && (strKeywords.length() > 0))        
            out.println(Utility.startTag(XMLTags.META_KEYWORDS) + strKeywords + Utility.endTag(XMLTags.META_KEYWORDS));
        String strDescription = strTitle;
        out.println(Utility.startTag(XMLTags.META_DESCRIPTION) + strDescription + Utility.endTag(XMLTags.META_DESCRIPTION));
        String redirect = this.getMetaRedirect();
        if ((redirect != null) && (redirect.length() > 0))
            out.println(Utility.startTag(XMLTags.META_REDIRECT) + redirect + Utility.endTag(XMLTags.META_REDIRECT));        
    }
989945
public void printScreen(PrintWriter out, ResourceBundle reg)
        throws DBException
    {
        String strHTML = "";

        ClassInfoModel classInfo = (ClassInfoModel)Record.makeRecordFromClassName(ClassInfoModel.THICK_CLASS, ((HelpScreen)this.getScreenField()));
        if (classInfo != null)
            classInfo = classInfo.readClassInfo(((HelpScreen)this.getScreenField()), null);

        String strClassName = classInfo.getClassName();
        if ((strClassName != null) && (strClassName.equalsIgnoreCase("MenuScreen")))
        {
            strHTML = reg.getString("htmlHelpMenu");
            if ((strHTML == null) || (strHTML.length() == 0))
                strHTML =
                    "<CENTER><h2>" + HtmlConstants.TITLE_TAG + "</h2></CENTER>" +
                    "<h3>Description:</h3>" +
                    "<p>" + HtmlConstants.MENU_DESC_TAG + "</p>" + 
                    "<h3>Menu items:</h3>";
            Record menu = Record.makeRecordFromClassName(MenusModel.THICK_CLASS, null);
            menu.setKeyArea(MenusModel.TYPE_KEY);
            menu.getField(MenusModel.TYPE).setString(DBParams.MENU);
            String strParamMenu = this.getProperty(DBParams.MENU);      // Display record
            menu.getField(MenusModel.PROGRAM).setString(strParamMenu);
            boolean bSuccess = menu.seek("=");
            if (!bSuccess)
                ;   // Do something?
            XMLParser parser = new MenuParser((HelpScreen)this.getScreenField(), menu);
            parser.parseHtmlData(out, strHTML);
            parser.free();
            parser = null;

            menu.free();
            menu = null;
        }
        else
        {
            if (strHTML.length() == 0)
            {
                if ((strClassName != null) && (strClassName.length() > 0))
                    strHTML = reg.getString("htmlHelp");
                else
                {
                    strHTML = reg.getString("htmlHelpDefault");
                    out.println(strHTML);
                    classInfo.free();
                    classInfo = null;
                    return;
                }
            }
            if ((strHTML == null) || (strHTML.length() == 0))
                strHTML =
                "<h2>" + HtmlConstants.TITLE_TAG + "</h2>" +
                "<h3>Description:</h3>" +
                "<p>" + HtmlConstants.MENU_DESC_TAG + "</p>" +
                "<h3>Operation:</h3>" +
                "<p>" + HtmlConstants.HELP_TAG + "</p>";
    
            XMLParser parser = new HelpParser((HelpScreen)this.getScreenField(), classInfo);
            parser.parseHtmlData(out, strHTML);
            parser.free();
            parser = null;
        }
        classInfo.free();
        classInfo = null;
    }
1224451
public void xml(String xml) {
    if (LogLevel.DEBUG < logConfiguration.logLevel) {
      return;
    }
    printlnInternal(LogLevel.DEBUG, logConfiguration.xmlFormatter.format(xml));
  }
675140
public void printControlEndForm(PrintWriter out, int iPrintOptions)
    {
        if (((iPrintOptions & HtmlConstants.HEADING_SCREEN) == HtmlConstants.HEADING_SCREEN)
                || ((iPrintOptions & HtmlConstants.FOOTING_SCREEN) == HtmlConstants.FOOTING_SCREEN)
                || ((iPrintOptions & HtmlConstants.DETAIL_SCREEN) == HtmlConstants.DETAIL_SCREEN))
            return; // Don't need on nested forms
//?     out.println("  </instance>");
        out.println("</xform>");
//?     if (bFieldsFound)
        if (!this.getScreenField().isToolbar())
            this.printZmlToolbarControls(out, iPrintOptions | HtmlConstants.DETAIL_SCREEN); // Print this screen's toolbars
        else
            this.printToolbarControl(true, out, iPrintOptions);     // Print this toolbar's controls
        super.printControlEndForm(out, iPrintOptions);
    }
232849
public int printStartGridScreenData(PrintWriter out, int iPrintOptions)
    {
        out.println(Utility.startTag(XMLTags.DATA));
        return iPrintOptions;
    }
386031
def display(self):
        
        from IPython.core.display import display, HTML
        display(HTML(self._repr_html_()))
776583
public boolean printData(PrintWriter out, int iPrintOptions)
    {
        if (this.getProperty(DBParams.XML) != null)
            return this.getScreenFieldView().printData(out, iPrintOptions);
        else
            return super.printData(out, iPrintOptions);
    }
75777
def xml_start_output (self):
        
        self.writeln(u'<?xml version="1.0" encoding="%s"?>' %
             xmlquoteattr(self.get_charset_encoding()))
        if self.has_part("intro"):
            self.write_intro()
            self.writeln()
417534
public void printHtmlLogo(PrintWriter out, ResourceBundle reg)
        throws DBException
    {
        char chMenubar = HBasePanel.getFirstToUpper(this.getProperty(DBParams.LOGOS), 'H');
        if (chMenubar == 'H') if (((BasePanel)this.getScreenField()).isMainMenu())
            chMenubar = 'Y';
        if (chMenubar == 'Y')
        {
            String strNav = reg.getString("htmlLogo");
            strNav = Utility.replaceResources(strNav, reg, null, null);
            String strScreen = ((BasePanel)this.getScreenField()).getScreenURL();
            strScreen = Utility.encodeXML(strScreen);
            String strUserName = ((MainApplication)this.getTask().getApplication()).getUserName();
            if (Utility.isNumeric(strUserName))
                strUserName = DBConstants.BLANK;
            String strLanguage = this.getTask().getApplication().getLanguage(false);
            strNav = Utility.replace(strNav, HtmlConstants.URL_TAG, strScreen);
            strNav = Utility.replace(strNav, HtmlConstants.USER_NAME_TAG, strUserName);
            strNav = Utility.replace(strNav, "<language/>", strLanguage);
            this.writeHtmlString(strNav, out);
        }
    }
318152
public void printScreen(PrintWriter out, ResourceBundle reg)
        throws DBException
    {
        String strParamHelp = this.getProperty(DBParams.HELP);      // Display record
        if (strParamHelp != null)
            return;     // Don't do this for help screens
        this.printHtmlStartForm(out);
        int iHtmlOptions = this.getScreenField().getPrintOptions();
        if ((iHtmlOptions & HtmlConstants.PRINT_TOOLBAR_BEFORE) != 0)
            this.printZmlToolbarData(out, iHtmlOptions);

        if ((iHtmlOptions & HtmlConstants.DONT_PRINT_SCREEN) == 0)
            this.getScreenField().printData(out, iHtmlOptions);   // DO print screen

        if ((iHtmlOptions & HtmlConstants.PRINT_TOOLBAR_AFTER) != 0)
            this.printZmlToolbarData(out, iHtmlOptions);

        this.printHtmlEndForm(out);
    }
97234
public void printScreen(PrintWriter out, ResourceBundle reg)
    {
        String strClassXML = null;
        
        ClassInfoModel classInfo = ((HelpScreen)this.getScreenField()).getClassInfo();
        if (classInfo != null)
        {
            if (!classInfo.isValidRecord())	// Not found = Main help screen
            	classInfo = classInfo.readClassInfo((HelpScreen)this.getScreenField(), HelpScreen.class.getName());
            if (classInfo.isValidRecord())
	            strClassXML = XmlUtilities.createXMLStringRecord((Record)classInfo);
        }
        
        if ((strClassXML == null)
            || (strClassXML.length() == 0))
        strClassXML =
            "<ClassInfo>" +
            " <ClassName>ClassName</ClassName>" +
            " <BaseClassName>BaseClassName</BaseClassName>" +
            " <ClassDesc>Class not found.</ClassDesc>" +
            " <ClassPackage>ClassPackage</ClassPackage>" +
            " <ClassSourceFile>ClassSourceFile</ClassSourceFile>" +
            " <ClassType>ClassType</ClassType>" +
            " <ClassExplain>ClassExplain</ClassExplain>" +
            " <ClassHelp>ClassHelp</ClassHelp>" +
            " <ClassImplements>ClassImplements</ClassImplements>" +
            " <SeeAlso>SeeAlso</SeeAlso>" +
            " <TechnicalInfo>TechnicalInfo</TechnicalInfo>" +
            "</ClassInfo>";

        String strContentArea = strClassXML;
        out.println(strContentArea);
    }