Code

Finished multiple inheritance delegation
[inkscape.git] / src / bind / java / org / inkscape / dom / svg / SVGGlyphRefElementImpl.java
index 18faa6161761ae9713b6c6903facf8aed858df47..8f72f4fec9fb61b25404b71bd1fa9db08337400c 100644 (file)
@@ -44,17 +44,31 @@ public class SVGGlyphRefElementImpl
                //SVGStylable
        implements org.w3c.dom.svg.SVGGlyphRefElement
 {
+public SVGGlyphRefElementImpl()
+{
+    imbue(_SVGURIReference = new SVGURIReferenceImpl());
+    imbue(_SVGStylable = new SVGStylableImpl());
+}
+
+
 //from SVGURIReference
-public native SVGAnimatedString getHref( );
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+    { return _SVGURIReference.getHref(); }
 //end SVGURIReference
 
 //from SVGStylable
-public native SVGAnimatedString getClassName( );
-public native CSSStyleDeclaration getStyle( );
-public native CSSValue getPresentationAttribute ( String name );
+private SVGStylableImpl _SVGStylable;
+public SVGAnimatedString getClassName()
+    { return _SVGStylable.getClassName(); }
+public CSSStyleDeclaration getStyle()
+    { return _SVGStylable.getStyle(); }
+public CSSValue getPresentationAttribute(String name)
+    { return _SVGStylable.getPresentationAttribute(name); }
 //end SVGStylable
 
 
+
 public native String getGlyphRef( );
 public native void setGlyphRef( String glyphRef )
                        throws DOMException;