public void writeVariableAttributes(BaseType bt, DAS das) {
    """
	/*
	void
	WWWOutput::write_variable_attributes(BaseType *btp, DAS &das)
	{
	AttrTable *attr = das.get_table(btp->name());
	Don't write anything if there are no attributes.
	if (!attr)
	return;
	
	_os << "<textarea name=\"" << btp->name() << "_attr" << "\" rows="
	<< _attr_rows << " cols=" << _attr_cols << ">\n";
	write_attributes(attr);
	_os << "</textarea>\n\n";
	}
    """

        try {

            AttributeTable attr = das.getAttributeTable(bt.getEncodedName());

            if (attr != null) {

                pWrt.print("<textarea name=\""
                        + bt.getLongName().replace('.', '_')
                        + "_attr"
                        + "\" rows="
                        + _attrRows
                        + " cols="
                        + _attrCols
                        + ">\n"
                );

                writeAttributes(attr);
                pWrt.print("</textarea>\n\n");

            }
        } catch (NoSuchAttributeException nsae) {
        }
    }
public void writeVariableAttributes(BaseType bt, DAS das) {

        try {

            AttributeTable attr = das.getAttributeTable(bt.getEncodedName());

            if (attr != null) {

                pWrt.print("<textarea name=\""
                        + bt.getLongName().replace('.', '_')
                        + "_attr"
                        + "\" rows="
                        + _attrRows
                        + " cols="
                        + _attrCols
                        + ">\n"
                );

                writeAttributes(attr);
                pWrt.print("</textarea>\n\n");

            }
        } catch (NoSuchAttributeException nsae) {
        }
    }
public void writeVariableAttributes ( BaseType bt , DAS das ) { try { AttributeTable attr = das . getAttributeTable ( bt . getEncodedName ( ) ) ; if ( attr != null ) { pWrt . print ( "<textarea name=\"" + bt . getLongName ( ) . replace ( ' ' , ' ' ) + "_attr" + "\" rows=" + _attrRows + " cols=" + _attrCols + ">\n" ) ; writeAttributes ( attr ) ; pWrt . print ( "</textarea>\n\n" ) ; } } catch ( NoSuchAttributeException nsae ) { } }
/*
void
WWWOutput::write_variable_attributes(BaseType *btp, DAS &das)
{
AttrTable *attr = das.get_table(btp->name());
Don't write anything if there are no attributes.
if (!attr)
return;

_os << "<textarea name=\"" << btp->name() << "_attr" << "\" rows="
<< _attr_rows << " cols=" << _attr_cols << ">\n";
write_attributes(attr);
_os << "</textarea>\n\n";
}
/ * void WWWOutput :: write_variable_attributes ( BaseType * btp DAS &das ) { AttrTable * attr = das . get_table ( btp - > name () ) ; Don t write anything if there are no attributes . if ( !attr ) return ;