- public static class AttributeEval extends JSElement implements XML.Attributes {
- protected XML.Attributes a;
-
- public AttributeEval(XML.Element wrapped) { super(wrapped); a = wrapped.getAttributes(); }
-
- public XML.Attributes getAttributes() { return this; }
+ public static class AttributeEval extends JSLeaf.Element implements Tree.Attributes {
+ // TODO: hide global attributes from out() function. waiting on util.XMLHelper
+ protected Tree.Attributes a;
+
+ public AttributeEval(Tree.Element wrapped) {
+ super(wrapped);
+ a = wrapped.getAttributes();
+ wrapped.setAttributes(this);
+ }