Gee.ArrayList<string> doubleStringProps; // need to think if this is a good idea like this
string pad;
- Gee.ArrayList<string> els;
+ //Gee.ArrayList<string> els;
//Gee.ArrayList<string> skip;
Gee.HashMap<string,string> ar_props;
this.doubleStringProps = doubleStringProps;
this.pad = pad;
- this.els = new Gee.ArrayList<string>();
+ //this.els = new Gee.ArrayList<string>();
this.ar_props = new Gee.HashMap<string,string>();
this.checkChildren();
this.readProps();
- this.readArrayProps();
+ //this.readArrayProps();
this.readListeners();
if (!this.node.props.has_key("* xinclude")) {
// no properties to output...
- if (this.els.size < 1) {
- return "";
- }
+ //if (this.els.size < 1) {
+ // return "";
+ //}
this.mungeOut();
return this.ret;
+
/*
// oprops...
this.out_nodeprops.set(prop, pl);
- this.els.add( prop + " : " + this.mungeChild ( this.pad + indent_str, pl));
+ //this.els.add( prop + " : " + this.mungeChild ( this.pad + indent_str, pl));
//keys.push(prop);
if (this.node.props.has_key("$ xns")) {
this.out_props.set("'|xns'", "'" + this.node.props.get("$ xns") + "'" );
- this.els.add("'|xns' : '" + this.node.props.get("$ xns") + "'");
+ //this.els.add("'|xns' : '" + this.node.props.get("$ xns") + "'");
}
}
this.out_props.set(left, nstr);
//print("==> " + str + "\n");
- this.els.add(left + " : "+ nstr);
+ //this.els.add(left + " : "+ nstr);
continue;
}
// standard..
ktype.down() == "int"
) { // boolean or number...?
this.out_props.set(left, v.down());
- this.els.add(left + " : " + v.down() );
+ //this.els.add(left + " : " + v.down() );
continue;
}
(v.replace("*/", "* - /") + " */")
);
- this.els.add(left + " : _this._strings['" +
- GLib.Checksum.compute_for_string (ChecksumType.MD5, v) +
- "']"
- );
+ //this.els.add(left + " : _this._strings['" +
+ // GLib.Checksum.compute_for_string (ChecksumType.MD5, v) +
+ // "']"
+ //);
this.out_props.set(left, "_this._strings['" +
GLib.Checksum.compute_for_string (ChecksumType.MD5, v) +
"']" + com);
var vv = this.node.quoteString(v);
// single quote.. v.substring(1, v.length-1).replace("'", "\\'") + "'";
- this.els.add(left + " : " + "'" + vv.substring(1, vv.length-2).replace("'", "\\'") + "'");
+ //this.els.add(left + " : " + "'" + vv.substring(1, vv.length-2).replace("'", "\\'") + "'");
this.out_props.set(left, "'" + vv.substring(1, vv.length-2).replace("'", "\\'") + "'");
}
}
+ /*
public void readArrayProps()
{
//}
//this.out_props_array_plain.get(left).add(right);
- this.els.add(left + " : [\n" + this.pad + indent_str + indent_str +
- right + "\n" + this.pad + "]");
+ //this.els.add(left + " : [\n" + this.pad + indent_str + indent_str +
+ // right + "\n" + this.pad + "]");
}
}
}
+ */
public void readListeners()
{
}
itms += "\n" + this.pad + "}";
//print ( "ADD " + itms);
- this.els.add(itms);
+ //this.els.add(itms);
}
}
itms += "\n"+ this.pad + "]" + "\n";
- this.els.add(itms);
+ //this.els.add(itms);
}
// finally output listeners...