Lines 21-27
Link Here
|
21 |
import org.apache.batik.dom.AbstractDocument; |
21 |
import org.apache.batik.dom.AbstractDocument; |
22 |
import org.apache.batik.dom.svg.AttributeInitializer; |
22 |
import org.apache.batik.dom.svg.AttributeInitializer; |
23 |
import org.apache.batik.dom.svg.SVGGraphicsElement; |
23 |
import org.apache.batik.dom.svg.SVGGraphicsElement; |
24 |
|
|
|
25 |
import org.w3c.dom.Node; |
24 |
import org.w3c.dom.Node; |
26 |
|
25 |
|
27 |
/** |
26 |
/** |
Lines 93-105
Link Here
|
93 |
} |
92 |
} |
94 |
|
93 |
|
95 |
/** |
94 |
/** |
|
|
95 |
* Exports this node to the given document. |
96 |
*/ |
97 |
protected Node export(Node n, AbstractDocument d) { |
98 |
BindableElement be = (BindableElement)super.export(n, d); |
99 |
be.namespaceURI = namespaceURI; |
100 |
be.localName = localName; |
101 |
return n; |
102 |
} |
103 |
|
104 |
/** |
105 |
* Deeply exports this node to the given document. |
106 |
*/ |
107 |
protected Node deepExport(Node n, AbstractDocument d) { |
108 |
BindableElement be = (BindableElement)super.deepExport(n, d); |
109 |
be.namespaceURI = namespaceURI; |
110 |
be.localName = localName; |
111 |
return n; |
112 |
} |
113 |
|
114 |
/** |
115 |
* Copy the fields of the current node into the given node. |
116 |
* @param n a node of the type of this. |
117 |
*/ |
118 |
protected Node copyInto(Node n) { |
119 |
BindableElement be = (BindableElement)super.copyInto(n); |
120 |
be.namespaceURI = namespaceURI; |
121 |
be.localName = localName; |
122 |
return n; |
123 |
} |
124 |
|
125 |
/** |
126 |
* Deeply copy the fields of the current node into the given node. |
127 |
* @param n a node of the type of this. |
128 |
*/ |
129 |
protected Node deepCopyInto(Node n) { |
130 |
BindableElement be = (BindableElement)super.deepCopyInto(n); |
131 |
be.namespaceURI = namespaceURI; |
132 |
be.localName = localName; |
133 |
return n; |
134 |
} |
135 |
|
136 |
/** |
96 |
* Returns a new uninitialized instance of this object's class. |
137 |
* Returns a new uninitialized instance of this object's class. |
97 |
*/ |
138 |
*/ |
98 |
protected Node newNode() { |
139 |
protected Node newNode() { |
99 |
return new BindableElement(null, null, namespaceURI, localName); |
140 |
return new BindableElement(); |
100 |
} |
141 |
} |
101 |
|
142 |
|
102 |
/** |
143 |
/** |
103 |
* Sets the shadow tree for this bindable element. |
144 |
* Sets the shadow tree for this bindable element. |
104 |
*/ |
145 |
*/ |
105 |
public void setShadowTree(XBLOMShadowTreeElement s) { |
146 |
public void setShadowTree(XBLOMShadowTreeElement s) { |