summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1cacd8)
raw | patch | inline | side by side (parent: f1cacd8)
author | ishmal <ishmal@users.sourceforge.net> | |
Mon, 24 Mar 2008 03:50:12 +0000 (03:50 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Mon, 24 Mar 2008 03:50:12 +0000 (03:50 +0000) |
35 files changed:
diff --git a/src/bind/java/org/inkscape/dom/stylesheets/DocumentStyleImpl.java b/src/bind/java/org/inkscape/dom/stylesheets/DocumentStyleImpl.java
index b1aedfd90a22e3df4b41d81225ab7fb249ede38a..924e06d4e583b7b453c87477f3f3a9e5960e7ca5 100644 (file)
public class DocumentStyleImpl
+ extends
+ org.inkscape.cmn.BaseInterface
implements org.w3c.dom.stylesheets.DocumentStyle
{
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGAnimatedPathDataImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGAnimatedPathDataImpl.java
index 3a7aea7bcc7cae9c74a255ecaa7e920529ac9b18..a26e0b5f7f4db15b9dd468b6675e61865827e57e 100644 (file)
public class SVGAnimatedPathDataImpl
+ extends
+ org.inkscape.cmn.BaseInterface
implements org.w3c.dom.svg.SVGAnimatedPathData
{
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGAnimatedPointsImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGAnimatedPointsImpl.java
index c95fdd6a449c04afcd409ca4b412c03c7fad6962..3b79d667a6485a563c12016e96491534a162024a 100644 (file)
public class SVGAnimatedPointsImpl
+ extends
+ org.inkscape.cmn.BaseInterface
implements org.w3c.dom.svg.SVGAnimatedPoints
{
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGFitToViewBoxImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGFitToViewBoxImpl.java
index 2a2e77df2fa52098f6c6b62f044a26a0a1a30c43..a319e03bf61455ae0888d0e7722b1a25d2d1d3c4 100644 (file)
public class SVGFitToViewBoxImpl
+ extends
+ org.inkscape.cmn.BaseInterface
implements org.w3c.dom.svg.SVGFitToViewBox
{
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGGElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGGElementImpl.java
index cf0fd1e286ad4897f36b15329d96dbcc9a358b27..fcc02698469415f3f027b14fc232123295a4bd81 100644 (file)
//EventTarget
implements org.w3c.dom.svg.SVGGElement
{
+
+public SVGGElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+}
+
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
+
}
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGGlyphElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGGlyphElementImpl.java
index 6634983894a3da50dde177a101bb06d9ce19af27..b5dfc9fc0598b7b0042ac27a129347e9352ca1f3 100644 (file)
//SVGStylable
implements org.w3c.dom.svg.SVGGlyphElement
{
+public SVGGlyphElementImpl()
+{
+ imbue(_SVGStylable = new SVGStylableImpl());
+}
+
+
+
//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
+
}
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGGlyphRefElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGGlyphRefElementImpl.java
index 18faa6161761ae9713b6c6903facf8aed858df47..8f72f4fec9fb61b25404b71bd1fa9db08337400c 100644 (file)
//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;
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGGradientElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGGradientElementImpl.java
index 7153eb8251f03be628fc74ba010f7d33dd8891cc..5d42069018d93a0fbd034025f2e748f7e8a8c62c 100644 (file)
//SVGUnitTypes
implements org.w3c.dom.svg.SVGGradientElement
{
+
+public SVGGradientElementImpl()
+{
+ imbue(_SVGURIReference = new SVGURIReferenceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+}
+
//from SVGURIReference
-public native SVGAnimatedString getHref( );
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
//end SVGURIReference
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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 SVGAnimatedEnumeration getGradientUnits( );
public native SVGAnimatedTransformList getGradientTransform( );
public native SVGAnimatedEnumeration getSpreadMethod( );
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGImageElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGImageElementImpl.java
index aad2a1ae5623e8d3e13c2306321900e6727c04d9..d7f287fd13b0888f4c0ff23cb682aef800ef2064 100644 (file)
//EventTarget
implements org.w3c.dom.svg.SVGImageElement
{
+
+public SVGImageElementImpl()
+{
+ imbue(_SVGURIReference = new SVGURIReferenceImpl());
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+}
+
+
//from SVGURIReference
-public native SVGAnimatedString getHref( );
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
//end SVGURIReference
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
public native SVGAnimatedLength getX( );
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGLineElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGLineElementImpl.java
index 76ce2cc41380e4b09022ea9a74c13abf64870df8..74a5f7a61f460cc49b43ff41fc4517d58f74b5d2 100644 (file)
//EventTarget
implements org.w3c.dom.svg.SVGLineElement
{
-//from SVGURIReference
-public native SVGAnimatedString getHref( );
-//end SVGURIReference
+
+public SVGLineElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+}
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGMPathElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGMPathElementImpl.java
index 76f800bf072c58e3916810bc885746f654b9d620..9d7c1c6ee273ffcb3d164f5f68a07d2093958220 100644 (file)
//SVGExternalResourcesRequired
implements org.w3c.dom.svg.SVGMPathElement
{
+
+public SVGMPathElementImpl()
+{
+ imbue(_SVGURIReference = new SVGURIReferenceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+}
+
+
//from SVGURIReference
-public native SVGAnimatedString getHref( );
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
//end SVGURIReference
+
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGMarkerElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGMarkerElementImpl.java
index effb4aa393c1e70eedfd63af49e4e0035420a66c..656ae0f17ab0d3b4287f8121afdfe4a6b117ffcd 100644 (file)
//SVGFitToViewBox
implements org.w3c.dom.svg.SVGMarkerElement
{
+
+public SVGMarkerElementImpl()
+{
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGFitToViewBox = new SVGFitToViewBoxImpl());
+}
+
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGFitToViewBox
-public native SVGAnimatedRect getViewBox( );
-public native SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+SVGFitToViewBoxImpl _SVGFitToViewBox;
+public SVGAnimatedRect getViewBox()
+ { return _SVGFitToViewBox.getViewBox(); }
+public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
+ { return _SVGFitToViewBox.getPreserveAspectRatio(); }
//end SVGFitToViewBox
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGMaskElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGMaskElementImpl.java
index b233220efa0a5db37a0fb4d28b43b48067b17d84..507095771566094fcb1b177a42726cc4523677c0 100644 (file)
//SVGUnitTypes
implements org.w3c.dom.svg.SVGMaskElement
{
+
+public SVGMaskElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+}
+
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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 SVGAnimatedEnumeration getMaskUnits( );
public native SVGAnimatedEnumeration getMaskContentUnits( );
public native SVGAnimatedLength getX( );
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGMissingGlyphElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGMissingGlyphElementImpl.java
index 063d01ea3e52b2100ce4a4ea82cf58e9873540c9..cbb115ee115fb3d446cb51589c0c2d5de6bddf7e 100644 (file)
//SVGStylable
implements org.w3c.dom.svg.SVGMissingGlyphElement
{
+
+public SVGMissingGlyphElementImpl()
+{
+ imbue(_SVGStylable = new SVGStylableImpl());
+}
+
//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
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGPathElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGPathElementImpl.java
index 86b9f079acb78e7d6e5670752c9c3b81d081e885..692c132135d2599eb607be82ca9f8516a8de3268 100644 (file)
//SVGAnimatedPathData
implements org.w3c.dom.svg.SVGPathElement
{
+
+public SVGPathElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+ imbue(_SVGAnimatedPathData = new SVGAnimatedPathDataImpl());
+}
+
+
+//from SVGURIReference
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
+//end SVGURIReference
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
//from SVGAnimatedPathData
-public native SVGPathSegList getPathSegList( );
-public native SVGPathSegList getNormalizedPathSegList( );
-public native SVGPathSegList getAnimatedPathSegList( );
-public native SVGPathSegList getAnimatedNormalizedPathSegList( );
+SVGAnimatedPathDataImpl _SVGAnimatedPathData;
+public SVGPathSegList getPathSegList()
+ { return _SVGAnimatedPathData.getPathSegList(); }
+public SVGPathSegList getNormalizedPathSegList()
+ { return _SVGAnimatedPathData.getNormalizedPathSegList(); }
+public SVGPathSegList getAnimatedPathSegList()
+ { return _SVGAnimatedPathData.getAnimatedPathSegList(); }
+public SVGPathSegList getAnimatedNormalizedPathSegList()
+ { return _SVGAnimatedPathData.getAnimatedNormalizedPathSegList(); }
//end SVGAnimatedPathData
public native SVGAnimatedNumber getPathLength( );
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGPatternElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGPatternElementImpl.java
index 675868424b478d85d269776eb61551c483106620..9d8c774feb91bd6b2c1b958e276a00c83b4c9465 100644 (file)
//SVGUnitTypes
implements org.w3c.dom.svg.SVGPatternElement
{
+
+public SVGPatternElementImpl()
+{
+ imbue(_SVGURIReference = new SVGURIReferenceImpl());
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGFitToViewBox = new SVGFitToViewBoxImpl());
+}
+
+
//from SVGURIReference
-public native SVGAnimatedString getHref( );
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
//end SVGURIReference
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
-//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
-//end SVGTransformable
-
-//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
-//end SVGLocatable
-
-//from EventTarget
-public native void addEventListener(String type,
- EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
- EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
- String type,
- EventListener listener,
- boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
- String type,
- EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
-//end EventTarget
-
//from SVGFitToViewBox
-public native SVGAnimatedRect getViewBox( );
-public native SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+SVGFitToViewBoxImpl _SVGFitToViewBox;
+public SVGAnimatedRect getViewBox()
+ { return _SVGFitToViewBox.getViewBox(); }
+public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
+ { return _SVGFitToViewBox.getPreserveAspectRatio(); }
//end SVGFitToViewBox
+
public native SVGAnimatedEnumeration getPatternUnits( );
public native SVGAnimatedEnumeration getPatternContentUnits( );
public native SVGAnimatedTransformList getPatternTransform( );
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGPolygonElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGPolygonElementImpl.java
index e1e29e02790ba66a7dba1dafeef9f87ed05390cc..a93eca993dd710b1704b6d6720079ac65ab59e65 100644 (file)
//SVGAnimatedPoints
implements org.w3c.dom.svg.SVGPolygonElement
{
+
+public SVGPolygonElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+ imbue(_SVGAnimatedPoints = new SVGAnimatedPointsImpl());
+}
+
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
+
//from SVGAnimatedPoints
-public native SVGPointList getPoints( );
-public native SVGPointList getAnimatedPoints( );
+SVGAnimatedPointsImpl _SVGAnimatedPoints;
+public SVGPointList getPoints()
+ { return _SVGAnimatedPoints.getPoints(); }
+public SVGPointList getAnimatedPoints()
+ { return _SVGAnimatedPoints.getAnimatedPoints(); }
//end SVGAnimatedPoints
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGPolylineElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGPolylineElementImpl.java
index f1a48ae2e0dc7d7952f82a38098c954ca4ed5873..ea017691dd8351bf0966c5a4663aa03acb47d00a 100644 (file)
//SVGAnimatedPoints
implements org.w3c.dom.svg.SVGPolylineElement
{
+
+public SVGPolylineElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+ imbue(_SVGAnimatedPoints = new SVGAnimatedPointsImpl());
+}
+
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
+
//from SVGAnimatedPoints
-public native SVGPointList getPoints( );
-public native SVGPointList getAnimatedPoints( );
+SVGAnimatedPointsImpl _SVGAnimatedPoints;
+public SVGPointList getPoints()
+ { return _SVGAnimatedPoints.getPoints(); }
+public SVGPointList getAnimatedPoints()
+ { return _SVGAnimatedPoints.getAnimatedPoints(); }
//end SVGAnimatedPoints
}
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGRectElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGRectElementImpl.java
index 8b721d8e3fc55eebebd5a39c037b1d680849d148..e0a3aefc7ef7a24fe5153925892fe123435d9743 100644 (file)
//EventTarget
implements org.w3c.dom.svg.SVGRectElement
{
+
+public SVGRectElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+}
+
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
public native SVGAnimatedLength getX( );
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGSVGElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGSVGElementImpl.java
index 818710054398c0f8f21fe79e2139972adf1c3bce..a98db9e07a5bcd7e9e69fd5f6dc1b75b38a8cc51 100644 (file)
//DocumentCSS
implements org.w3c.dom.svg.SVGSVGElement
{
+public SVGSVGElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGLocatable = new SVGLocatableImpl());
+ imbue(_SVGFitToViewBox = new SVGFitToViewBoxImpl());
+ imbue(_SVGZoomAndPan = new SVGZoomAndPanImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+ imbue(_DocumentEvent = new org.inkscape.dom.events.DocumentEventImpl());
+ imbue(_ViewCSS = new org.inkscape.dom.css.ViewCSSImpl());
+ imbue(_DocumentCSS = new org.inkscape.dom.css.DocumentCSSImpl());
+}
+
+
+//from SVGURIReference
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
+//end SVGURIReference
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGLocatable
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+private SVGLocatableImpl _SVGLocatable;
+public SVGElement getNearestViewportElement()
+ { return _SVGLocatable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGLocatable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGLocatable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGLocatable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGLocatable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGLocatable.getTransformToElement(element); }
//end SVGLocatable
-//from SVGFitToViewBox
-public native SVGAnimatedRect getViewBox( );
-public native SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
-//end SVGFitToViewBox
-
-//from SVGZoomAndPan
-public native short getZoomAndPan( );
-public native void setZoomAndPan( short zoomAndPan )
- throws DOMException;
-//end SVGZoomAndPan
-
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
+//from SVGFitToViewBox
+SVGFitToViewBoxImpl _SVGFitToViewBox;
+public SVGAnimatedRect getViewBox()
+ { return _SVGFitToViewBox.getViewBox(); }
+public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
+ { return _SVGFitToViewBox.getPreserveAspectRatio(); }
+//end SVGFitToViewBox
+
+//from SVGZoomAndPan
+SVGZoomAndPanImpl _SVGZoomAndPan;
+public short getZoomAndPan()
+ { return _SVGZoomAndPan.getZoomAndPan(); }
+public void setZoomAndPan(short zoomAndPan) throws DOMException
+ { _SVGZoomAndPan.setZoomAndPan(zoomAndPan); }
+//end SVGZoomAndPan
+
+
//from DocumentEvent
-public native Event createEvent(String eventType)
- throws DOMException;
-public native boolean canDispatch(String namespaceURI,
- String type);
+org.inkscape.dom.events.DocumentEventImpl _DocumentEvent;
+public Event createEvent(String eventType) throws DOMException
+ { return _DocumentEvent.createEvent(eventType); }
+public boolean canDispatch(String namespaceURI, String type)
+ { return _DocumentEvent.canDispatch(namespaceURI, type); }
//end DocumentEvent
//from ViewCSS
-public native CSSStyleDeclaration getComputedStyle(Element elt,
- String pseudoElt);
+org.inkscape.dom.css.ViewCSSImpl _ViewCSS;
+public CSSStyleDeclaration getComputedStyle(Element elt, String pseudoElt)
+ { return _ViewCSS.getComputedStyle(elt, pseudoElt); }
//end ViewCSS
//from AbstractView (from ViewCSS)
-public native DocumentView getDocument();
+public DocumentView getDocument()
+ { return _ViewCSS.getDocument(); }
//end AbstractView
//from DocumentCSS
-public native CSSStyleDeclaration getOverrideStyle(Element elt,
- String pseudoElt);
+org.inkscape.dom.css.DocumentCSSImpl _DocumentCSS;
+public CSSStyleDeclaration getOverrideStyle(Element elt, String pseudoElt)
+ { return _DocumentCSS.getOverrideStyle(elt, pseudoElt); }
//end DocumentCSS
//from DocumentStyle (from DocumentCSS)
-public native StyleSheetList getStyleSheets();
+public StyleSheetList getStyleSheets()
+ { return _DocumentCSS.getStyleSheets(); }
//end DocumentStyle
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGScriptElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGScriptElementImpl.java
index d1d7d453caf2940a4b11a935a0236f47dd1e6f97..a211ad3450b9a18983411ced370d32767ada304e 100644 (file)
//SVGExternalResourcesRequired
implements org.w3c.dom.svg.SVGScriptElement
{
+
+public SVGScriptElementImpl()
+{
+ imbue(_SVGURIReference = new SVGURIReferenceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+}
+
+
//from SVGURIReference
-public native SVGAnimatedString getHref( );
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
//end SVGURIReference
+
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
+
public native String getType( );
public native void setType( String type )
throws DOMException;
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGStopElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGStopElementImpl.java
index af651d88ea6a5485f3772bbe962917a8da51e946..dee28e3ed62499f4b4829a988adba1c12d002579 100644 (file)
//SVGStylable
implements org.w3c.dom.svg.SVGStopElement
{
+
+public SVGStopElementImpl()
+{
+ imbue(_SVGStylable = new SVGStylableImpl());
+}
+
//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 SVGAnimatedNumber getOffset( );
}
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGSwitchElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGSwitchElementImpl.java
index 548a6b0bb89784df6ac30e7d27eb6fe241d6a3ae..fa74caf7094f0d88fd49754847a2e44ad519a6ec 100644 (file)
//EventTarget
implements org.w3c.dom.svg.SVGSwitchElement
{
+
+public SVGSwitchElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+}
+
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
+
}
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGSymbolElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGSymbolElementImpl.java
index 95aca80186d4cc8e4dd18ad29c765dbfda17e54d..5fded7c3aab6257d92ed3bbd03422a8fe0f7962b 100644 (file)
//EventTarget
implements org.w3c.dom.svg.SVGSymbolElement
{
+
+public SVGSymbolElementImpl()
+{
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_SVGFitToViewBox = new SVGFitToViewBoxImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+}
+
+
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
+//from SVGTransformable
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
+//end SVGTransformable
+
+//from SVGLocatable (from SVGTransformable)
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
+//end SVGLocatable
+
//from SVGFitToViewBox
-public native SVGAnimatedRect getViewBox( );
-public native SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+SVGFitToViewBoxImpl _SVGFitToViewBox;
+public SVGAnimatedRect getViewBox()
+ { return _SVGFitToViewBox.getViewBox(); }
+public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
+ { return _SVGFitToViewBox.getPreserveAspectRatio(); }
//end SVGFitToViewBox
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGTRefElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGTRefElementImpl.java
index 990c6bfb983f3d16dbde86e7a74b58abee6a5c6f..545c1f30525a8d067e26110712a3027335ff3f54 100644 (file)
//SVGURIReference
implements org.w3c.dom.svg.SVGTRefElement
{
+
+public SVGTRefElementImpl()
+{
+ imbue(_SVGURIReference = new SVGURIReferenceImpl());
+}
+
+
//from SVGURIReference
-public native SVGAnimatedString getHref( );
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
//end SVGURIReference
}
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGTextContentElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGTextContentElementImpl.java
index d33a75ab9a84f36a0d7f811d2de6797ad624c4a6..3a271ce7a5d9f6a86a56c249bc1cc6a0d2a4d4ac 100644 (file)
//EventTarget
implements org.w3c.dom.svg.SVGTextContentElement
{
+
+public SVGTextContentElementImpl()
+{
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+}
+
+
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
-
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
-
//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
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
-
public native SVGAnimatedLength getTextLength( );
public native SVGAnimatedEnumeration getLengthAdjust( );
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGTextElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGTextElementImpl.java
index 2187ed3691d582aab043b52b511ded49420dc0d0..a312aade84e5569d05c525b28a25d79d8a2abb01 100644 (file)
//SVGTransformable
implements org.w3c.dom.svg.SVGTextElement
{
+
+public SVGTextElementImpl()
+{
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+}
+
+
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
}
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGTextPathElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGTextPathElementImpl.java
index a04ff35c26b2e6232b737af119d93adaa959c4ac..ce6a96da9d7b4bf3383316954347275bf41190f0 100644 (file)
//SVGURIReference
implements org.w3c.dom.svg.SVGTextPathElement
{
+
+public SVGTextPathElementImpl()
+{
+ imbue(_SVGURIReference = new SVGURIReferenceImpl());
+}
+
+
//from SVGURIReference
-public native SVGAnimatedString getHref( );
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
//end SVGURIReference
public native SVGAnimatedLength getStartOffset( );
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGTitleElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGTitleElementImpl.java
index 19cd537e35dbf6feb1b0e15ca26b62ae9a20b0e0..83cdea5bf9704a58de7b56665b0d8e5e061be372 100644 (file)
//SVGStylable
implements org.w3c.dom.svg.SVGTitleElement
{
+
+public SVGTitleElementImpl()
+{
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+}
+
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//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
+
}
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGUseElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGUseElementImpl.java
index 32988bb1eab41c9ae6e70600b899912df53e71b1..3283cdc26d7a9f544eeee3c667e5a689a8eec8e8 100644 (file)
//EventTarget
implements org.w3c.dom.svg.SVGUseElement
{
+public SVGUseElementImpl()
+{
+ imbue(_SVGURIReference = new SVGURIReferenceImpl());
+ imbue(_SVGTests = new SVGTestsImpl());
+ imbue(_SVGLangSpace = new SVGLangSpaceImpl());
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGStylable = new SVGStylableImpl());
+ imbue(_SVGTransformable = new SVGTransformableImpl());
+ imbue(_EventTarget = new org.inkscape.dom.events.EventTargetImpl());
+}
+
+
//from SVGURIReference
-public native SVGAnimatedString getHref( );
+private SVGURIReferenceImpl _SVGURIReference;
+public SVGAnimatedString getHref()
+ { return _SVGURIReference.getHref(); }
//end SVGURIReference
//from SVGTests
-public native SVGStringList getRequiredFeatures( );
-public native SVGStringList getRequiredExtensions( );
-public native SVGStringList getSystemLanguage( );
-public native boolean hasExtension ( String extension );
+private SVGTestsImpl _SVGTests;
+public SVGStringList getRequiredFeatures()
+ { return _SVGTests.getRequiredFeatures(); }
+public SVGStringList getRequiredExtensions()
+ { return _SVGTests.getRequiredExtensions(); }
+public SVGStringList getSystemLanguage()
+ { return _SVGTests.getSystemLanguage(); }
+public boolean hasExtension (String extension)
+ { return _SVGTests.hasExtension(extension); }
//end SVGTests
//from SVGLangSpace
-public native String getXMLlang( );
-public native void setXMLlang( String xmllang )
- throws DOMException;
-public native String getXMLspace( );
-public native void setXMLspace( String xmlspace )
- throws DOMException;
+private SVGLangSpaceImpl _SVGLangSpace;
+public String getXMLlang()
+ { return _SVGLangSpace.getXMLlang(); }
+public void setXMLlang(String xmllang)
+ throws DOMException
+ { _SVGLangSpace.setXMLlang(xmllang); }
+public String getXMLspace()
+ { return _SVGLangSpace.getXMLspace(); }
+public void setXMLspace(String xmlspace)
+ throws DOMException
+ { _SVGLangSpace.setXMLspace(xmlspace); }
//end SVGLangSpace
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
//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
//from SVGTransformable
-public native SVGAnimatedTransformList getTransform( );
+private SVGTransformableImpl _SVGTransformable;
+public SVGAnimatedTransformList getTransform()
+ { return _SVGTransformable.getTransform(); }
//end SVGTransformable
//from SVGLocatable (from SVGTransformable)
-public native SVGElement getNearestViewportElement( );
-public native SVGElement getFarthestViewportElement( );
-
-public native SVGRect getBBox ( );
-public native SVGMatrix getCTM ( );
-public native SVGMatrix getScreenCTM ( );
-public native SVGMatrix getTransformToElement ( SVGElement element )
- throws SVGException;
+public SVGElement getNearestViewportElement()
+ { return _SVGTransformable.getNearestViewportElement(); }
+public SVGElement getFarthestViewportElement()
+ { return _SVGTransformable.getFarthestViewportElement(); }
+public SVGRect getBBox()
+ { return _SVGTransformable.getBBox(); }
+public SVGMatrix getCTM()
+ { return _SVGTransformable.getCTM(); }
+public SVGMatrix getScreenCTM()
+ { return _SVGTransformable.getScreenCTM(); }
+public SVGMatrix getTransformToElement (SVGElement element)
+ throws SVGException
+ { return _SVGTransformable.getTransformToElement(element); }
//end SVGLocatable
//from EventTarget
-public native void addEventListener(String type,
+private org.inkscape.dom.events.EventTargetImpl _EventTarget;
+public void addEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native void removeEventListener(String type,
+ boolean useCapture)
+ { _EventTarget.addEventListener(type, listener, useCapture); }
+public void removeEventListener(String type,
EventListener listener,
- boolean useCapture);
-public native boolean dispatchEvent(Event evt)
- throws EventException;
-public native void addEventListenerNS(String namespaceURI,
+ boolean useCapture)
+ { _EventTarget.removeEventListener(type, listener, useCapture); }
+public boolean dispatchEvent(Event evt)
+ throws EventException
+ { return _EventTarget.dispatchEvent(evt); }
+public void addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture,
- Object evtGroup);
-public native void removeEventListenerNS(String namespaceURI,
+ Object evtGroup)
+ { _EventTarget.addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup); }
+public void removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
- boolean useCapture);
-public native boolean willTriggerNS(String namespaceURI,
- String type);
-public native boolean hasEventListenerNS(String namespaceURI,
- String type);
+ boolean useCapture)
+ { _EventTarget.removeEventListenerNS(namespaceURI, type, listener, useCapture); }
+public boolean willTriggerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.willTriggerNS(namespaceURI, type); }
+public boolean hasEventListenerNS(String namespaceURI,
+ String type)
+ { return _EventTarget.hasEventListenerNS(namespaceURI, type); }
//end EventTarget
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGViewElementImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGViewElementImpl.java
index 3143847f9d6058d8b4c29127b4bd0d379875b93e..c47336a0279182a0525a854dbcd38a097bb50255 100644 (file)
//SVGZoomAndPan
implements org.w3c.dom.svg.SVGViewElement
{
+public SVGViewElementImpl()
+{
+ imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
+ imbue(_SVGFitToViewBox = new SVGFitToViewBoxImpl());
+ imbue(_SVGZoomAndPan = new SVGZoomAndPanImpl());
+}
+
+
//from SVGExternalResourcesRequired
-public native SVGAnimatedBoolean getExternalResourcesRequired( );
+private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
+public SVGAnimatedBoolean getExternalResourcesRequired()
+ { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
//end SVGExternalResourcesRequired
+
//from SVGFitToViewBox
-public native SVGAnimatedRect getViewBox( );
-public native SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+SVGFitToViewBoxImpl _SVGFitToViewBox;
+public SVGAnimatedRect getViewBox()
+ { return _SVGFitToViewBox.getViewBox(); }
+public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
+ { return _SVGFitToViewBox.getPreserveAspectRatio(); }
//end SVGFitToViewBox
//from SVGZoomAndPan
-public native short getZoomAndPan( );
-public native void setZoomAndPan( short zoomAndPan )
- throws DOMException;
+SVGZoomAndPanImpl _SVGZoomAndPan;
+public short getZoomAndPan()
+ { return _SVGZoomAndPan.getZoomAndPan(); }
+public void setZoomAndPan(short zoomAndPan) throws DOMException
+ { _SVGZoomAndPan.setZoomAndPan(zoomAndPan); }
//end SVGZoomAndPan
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGViewSpecImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGViewSpecImpl.java
index 6b402f4c59db3c135e74550e067d9249e11618a2..20042bad511a44729e810438ba56d716352f224b 100644 (file)
//SVGFitToViewBox
implements org.w3c.dom.svg.SVGViewSpec
{
+
+public SVGViewSpecImpl()
+{
+ imbue(_SVGFitToViewBox = new SVGFitToViewBoxImpl());
+}
+
+
//from SVGFitToViewBox
-public native SVGAnimatedRect getViewBox( );
-public native SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+SVGFitToViewBoxImpl _SVGFitToViewBox;
+public SVGAnimatedRect getViewBox()
+ { return _SVGFitToViewBox.getViewBox(); }
+public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
+ { return _SVGFitToViewBox.getPreserveAspectRatio(); }
//end SVGFitToViewBox
+
public native SVGTransformList getTransform( );
public native SVGElement getViewTarget( );
public native String getViewBoxString( );
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGZoomAndPanImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGZoomAndPanImpl.java
index 8ec9dd2e003571e9c6f7acfdd2e0c75429e9f782..d77d64f753842b79ae6d4c837d628fdab48f545d 100644 (file)
import org.w3c.dom.DOMException;
public class SVGZoomAndPanImpl
+ extends
+ org.inkscape.cmn.BaseInterface
implements org.w3c.dom.svg.SVGZoomAndPan
{
public native short getZoomAndPan( );
diff --git a/src/bind/java/org/inkscape/dom/views/AbstractViewImpl.java b/src/bind/java/org/inkscape/dom/views/AbstractViewImpl.java
index 7e04b983995d9c9702568a16a0bfa359d21e2f09..9b2bd2dadf4dfcc1f07b4342b5917bee29421d0a 100644 (file)
public class AbstractViewImpl
+ extends
+ org.inkscape.cmn.BaseInterface
implements org.w3c.dom.views.AbstractView
{
diff --git a/src/bind/java/org/inkscape/dom/views/DocumentViewImpl.java b/src/bind/java/org/inkscape/dom/views/DocumentViewImpl.java
index a51a7b4a0c1d75633640df33e9ba0d3123ce6beb..a0ae88004dff186e901cdf89a2b54986f184d0c6 100644 (file)
public class DocumentViewImpl
+ extends
+ org.inkscape.cmn.BaseInterface
implements org.w3c.dom.views.DocumentView
{