From 856f700c3e344d726454249ebefaeff5e8b21609 Mon Sep 17 00:00:00 2001 From: Carlos Amengual Date: Sat, 1 May 2021 16:02:50 +0200 Subject: [PATCH] Replace the xml-apis-ext dependency with separate API modules, closes #15 --- echosvg-all/build.gradle | 8 +- echosvg-all/src/main/java/module-info.java | 2 +- echosvg-anim/build.gradle | 7 -- echosvg-anim/src/main/java/module-info.java | 8 +- .../src/main/java/module-info.java | 26 ++--- echosvg-bridge/build.gradle | 3 +- echosvg-bridge/src/main/java/module-info.java | 17 +-- echosvg-css/build.gradle | 3 +- echosvg-css/src/main/java/module-info.java | 29 ++--- echosvg-dom/build.gradle | 2 - echosvg-dom/src/main/java/module-info.java | 3 +- echosvg-ext/src/main/java/module-info.java | 2 +- echosvg-extension/build.gradle | 8 +- .../src/main/java/module-info.java | 25 ++-- .../src/main/java/module-info.java | 2 +- echosvg-parser/build.gradle | 3 +- echosvg-parser/src/main/java/module-info.java | 11 +- echosvg-script/build.gradle | 1 - echosvg-script/src/main/java/module-info.java | 5 +- echosvg-slideshow/build.gradle | 8 +- .../src/main/java/module-info.java | 2 +- echosvg-svg-dom/build.gradle | 8 +- .../src/main/java/module-info.java | 16 +-- echosvg-svggen/src/main/java/module-info.java | 15 +-- echosvg-swing/build.gradle | 8 +- echosvg-swing/src/main/java/module-info.java | 31 ++--- echosvg-transcoder/build.gradle | 8 +- .../src/main/java/module-info.java | 13 +-- echosvg-util/src/main/java/module-info.java | 12 +- echosvg-xml/src/main/java/module-info.java | 3 +- gradle.properties | 1 - settings.gradle | 2 + smil-api/build.gradle | 11 ++ smil-api/src/main/java/module-info.java | 20 ++++ .../org/w3c/dom/smil/ElementTimeControl.java | 23 ++++ .../main/java/org/w3c/dom/smil/TimeEvent.java | 24 ++++ svgom-api/build.gradle | 15 +++ svgom-api/src/main/java/module-info.java | 21 ++++ .../w3c/dom/svg/EventListenerInitializer.java | 17 +++ .../java/org/w3c/dom/svg/GetSVGDocument.java | 19 +++ .../java/org/w3c/dom/svg/SVGAElement.java | 20 ++++ .../w3c/dom/svg/SVGAltGlyphDefElement.java | 16 +++ .../org/w3c/dom/svg/SVGAltGlyphElement.java | 25 ++++ .../w3c/dom/svg/SVGAltGlyphItemElement.java | 16 +++ .../main/java/org/w3c/dom/svg/SVGAngle.java | 42 +++++++ .../w3c/dom/svg/SVGAnimateColorElement.java | 16 +++ .../org/w3c/dom/svg/SVGAnimateElement.java | 16 +++ .../w3c/dom/svg/SVGAnimateMotionElement.java | 16 +++ .../dom/svg/SVGAnimateTransformElement.java | 16 +++ .../org/w3c/dom/svg/SVGAnimatedAngle.java | 19 +++ .../org/w3c/dom/svg/SVGAnimatedBoolean.java | 23 ++++ .../w3c/dom/svg/SVGAnimatedEnumeration.java | 23 ++++ .../org/w3c/dom/svg/SVGAnimatedInteger.java | 23 ++++ .../org/w3c/dom/svg/SVGAnimatedLength.java | 19 +++ .../w3c/dom/svg/SVGAnimatedLengthList.java | 19 +++ .../org/w3c/dom/svg/SVGAnimatedNumber.java | 23 ++++ .../w3c/dom/svg/SVGAnimatedNumberList.java | 19 +++ .../org/w3c/dom/svg/SVGAnimatedPathData.java | 23 ++++ .../org/w3c/dom/svg/SVGAnimatedPoints.java | 19 +++ .../svg/SVGAnimatedPreserveAspectRatio.java | 19 +++ .../java/org/w3c/dom/svg/SVGAnimatedRect.java | 19 +++ .../org/w3c/dom/svg/SVGAnimatedString.java | 23 ++++ .../w3c/dom/svg/SVGAnimatedTransformList.java | 19 +++ .../org/w3c/dom/svg/SVGAnimationElement.java | 27 +++++ .../main/java/org/w3c/dom/svg/SVGCSSRule.java | 20 ++++ .../org/w3c/dom/svg/SVGCircleElement.java | 24 ++++ .../org/w3c/dom/svg/SVGClipPathElement.java | 18 +++ .../main/java/org/w3c/dom/svg/SVGColor.java | 36 ++++++ .../w3c/dom/svg/SVGColorProfileElement.java | 29 +++++ .../org/w3c/dom/svg/SVGColorProfileRule.java | 29 +++++ .../SVGComponentTransferFunctionElement.java | 37 ++++++ .../org/w3c/dom/svg/SVGCursorElement.java | 19 +++ .../w3c/dom/svg/SVGDefinitionSrcElement.java | 16 +++ .../java/org/w3c/dom/svg/SVGDefsElement.java | 19 +++ .../java/org/w3c/dom/svg/SVGDescElement.java | 16 +++ .../java/org/w3c/dom/svg/SVGDocument.java | 28 +++++ .../main/java/org/w3c/dom/svg/SVGElement.java | 30 +++++ .../org/w3c/dom/svg/SVGElementInstance.java | 33 ++++++ .../w3c/dom/svg/SVGElementInstanceList.java | 19 +++ .../org/w3c/dom/svg/SVGEllipseElement.java | 26 +++++ .../main/java/org/w3c/dom/svg/SVGEvent.java | 18 +++ .../java/org/w3c/dom/svg/SVGException.java | 29 +++++ .../dom/svg/SVGExternalResourcesRequired.java | 17 +++ .../org/w3c/dom/svg/SVGFEBlendElement.java | 29 +++++ .../w3c/dom/svg/SVGFEColorMatrixElement.java | 28 +++++ .../svg/SVGFEComponentTransferElement.java | 17 +++ .../w3c/dom/svg/SVGFECompositeElement.java | 38 ++++++ .../dom/svg/SVGFEConvolveMatrixElement.java | 43 +++++++ .../dom/svg/SVGFEDiffuseLightingElement.java | 25 ++++ .../dom/svg/SVGFEDisplacementMapElement.java | 32 ++++++ .../w3c/dom/svg/SVGFEDistantLightElement.java | 19 +++ .../org/w3c/dom/svg/SVGFEFloodElement.java | 17 +++ .../org/w3c/dom/svg/SVGFEFuncAElement.java | 16 +++ .../org/w3c/dom/svg/SVGFEFuncBElement.java | 16 +++ .../org/w3c/dom/svg/SVGFEFuncGElement.java | 16 +++ .../org/w3c/dom/svg/SVGFEFuncRElement.java | 16 +++ .../w3c/dom/svg/SVGFEGaussianBlurElement.java | 23 ++++ .../org/w3c/dom/svg/SVGFEImageElement.java | 17 +++ .../org/w3c/dom/svg/SVGFEMergeElement.java | 16 +++ .../w3c/dom/svg/SVGFEMergeNodeElement.java | 17 +++ .../w3c/dom/svg/SVGFEMorphologyElement.java | 28 +++++ .../org/w3c/dom/svg/SVGFEOffsetElement.java | 21 ++++ .../w3c/dom/svg/SVGFEPointLightElement.java | 21 ++++ .../dom/svg/SVGFESpecularLightingElement.java | 23 ++++ .../w3c/dom/svg/SVGFESpotLightElement.java | 31 +++++ .../org/w3c/dom/svg/SVGFETileElement.java | 17 +++ .../w3c/dom/svg/SVGFETurbulenceElement.java | 36 ++++++ .../org/w3c/dom/svg/SVGFilterElement.java | 34 ++++++ .../SVGFilterPrimitiveStandardAttributes.java | 25 ++++ .../java/org/w3c/dom/svg/SVGFitToViewBox.java | 19 +++ .../java/org/w3c/dom/svg/SVGFontElement.java | 16 +++ .../org/w3c/dom/svg/SVGFontFaceElement.java | 16 +++ .../w3c/dom/svg/SVGFontFaceFormatElement.java | 16 +++ .../w3c/dom/svg/SVGFontFaceNameElement.java | 16 +++ .../w3c/dom/svg/SVGFontFaceSrcElement.java | 16 +++ .../w3c/dom/svg/SVGFontFaceUriElement.java | 16 +++ .../w3c/dom/svg/SVGForeignObjectElement.java | 26 +++++ .../java/org/w3c/dom/svg/SVGGElement.java | 19 +++ .../java/org/w3c/dom/svg/SVGGlyphElement.java | 16 +++ .../org/w3c/dom/svg/SVGGlyphRefElement.java | 41 +++++++ .../org/w3c/dom/svg/SVGGradientElement.java | 28 +++++ .../java/org/w3c/dom/svg/SVGHKernElement.java | 16 +++ .../java/org/w3c/dom/svg/SVGICCColor.java | 23 ++++ .../java/org/w3c/dom/svg/SVGImageElement.java | 28 +++++ .../java/org/w3c/dom/svg/SVGLangSpace.java | 25 ++++ .../main/java/org/w3c/dom/svg/SVGLength.java | 48 ++++++++ .../java/org/w3c/dom/svg/SVGLengthList.java | 33 ++++++ .../java/org/w3c/dom/svg/SVGLineElement.java | 26 +++++ .../w3c/dom/svg/SVGLinearGradientElement.java | 23 ++++ .../java/org/w3c/dom/svg/SVGLocatable.java | 27 +++++ .../java/org/w3c/dom/svg/SVGMPathElement.java | 16 +++ .../org/w3c/dom/svg/SVGMarkerElement.java | 43 +++++++ .../java/org/w3c/dom/svg/SVGMaskElement.java | 28 +++++ .../main/java/org/w3c/dom/svg/SVGMatrix.java | 63 ++++++++++ .../org/w3c/dom/svg/SVGMetadataElement.java | 16 +++ .../w3c/dom/svg/SVGMissingGlyphElement.java | 16 +++ .../main/java/org/w3c/dom/svg/SVGNumber.java | 21 ++++ .../java/org/w3c/dom/svg/SVGNumberList.java | 33 ++++++ .../main/java/org/w3c/dom/svg/SVGPaint.java | 35 ++++++ .../java/org/w3c/dom/svg/SVGPathElement.java | 68 +++++++++++ .../main/java/org/w3c/dom/svg/SVGPathSeg.java | 41 +++++++ .../org/w3c/dom/svg/SVGPathSegArcAbs.java | 45 ++++++++ .../org/w3c/dom/svg/SVGPathSegArcRel.java | 45 ++++++++ .../org/w3c/dom/svg/SVGPathSegClosePath.java | 16 +++ .../dom/svg/SVGPathSegCurvetoCubicAbs.java | 41 +++++++ .../dom/svg/SVGPathSegCurvetoCubicRel.java | 41 +++++++ .../svg/SVGPathSegCurvetoCubicSmoothAbs.java | 33 ++++++ .../svg/SVGPathSegCurvetoCubicSmoothRel.java | 33 ++++++ .../svg/SVGPathSegCurvetoQuadraticAbs.java | 33 ++++++ .../svg/SVGPathSegCurvetoQuadraticRel.java | 33 ++++++ .../SVGPathSegCurvetoQuadraticSmoothAbs.java | 25 ++++ .../SVGPathSegCurvetoQuadraticSmoothRel.java | 25 ++++ .../org/w3c/dom/svg/SVGPathSegLinetoAbs.java | 25 ++++ .../svg/SVGPathSegLinetoHorizontalAbs.java | 21 ++++ .../svg/SVGPathSegLinetoHorizontalRel.java | 21 ++++ .../org/w3c/dom/svg/SVGPathSegLinetoRel.java | 25 ++++ .../dom/svg/SVGPathSegLinetoVerticalAbs.java | 21 ++++ .../dom/svg/SVGPathSegLinetoVerticalRel.java | 21 ++++ .../java/org/w3c/dom/svg/SVGPathSegList.java | 33 ++++++ .../org/w3c/dom/svg/SVGPathSegMovetoAbs.java | 25 ++++ .../org/w3c/dom/svg/SVGPathSegMovetoRel.java | 25 ++++ .../org/w3c/dom/svg/SVGPatternElement.java | 30 +++++ .../main/java/org/w3c/dom/svg/SVGPoint.java | 27 +++++ .../java/org/w3c/dom/svg/SVGPointList.java | 33 ++++++ .../org/w3c/dom/svg/SVGPolygonElement.java | 19 +++ .../org/w3c/dom/svg/SVGPolylineElement.java | 19 +++ .../w3c/dom/svg/SVGPreserveAspectRatio.java | 42 +++++++ .../w3c/dom/svg/SVGRadialGradientElement.java | 25 ++++ .../main/java/org/w3c/dom/svg/SVGRect.java | 33 ++++++ .../java/org/w3c/dom/svg/SVGRectElement.java | 30 +++++ .../org/w3c/dom/svg/SVGRenderingIntent.java | 23 ++++ .../java/org/w3c/dom/svg/SVGSVGElement.java | 108 ++++++++++++++++++ .../org/w3c/dom/svg/SVGScriptElement.java | 21 ++++ .../java/org/w3c/dom/svg/SVGSetElement.java | 16 +++ .../java/org/w3c/dom/svg/SVGStopElement.java | 17 +++ .../java/org/w3c/dom/svg/SVGStringList.java | 33 ++++++ .../java/org/w3c/dom/svg/SVGStylable.java | 24 ++++ .../java/org/w3c/dom/svg/SVGStyleElement.java | 33 ++++++ .../org/w3c/dom/svg/SVGSwitchElement.java | 19 +++ .../org/w3c/dom/svg/SVGSymbolElement.java | 19 +++ .../java/org/w3c/dom/svg/SVGTRefElement.java | 16 +++ .../java/org/w3c/dom/svg/SVGTSpanElement.java | 16 +++ .../main/java/org/w3c/dom/svg/SVGTests.java | 23 ++++ .../w3c/dom/svg/SVGTextContentElement.java | 46 ++++++++ .../java/org/w3c/dom/svg/SVGTextElement.java | 16 +++ .../org/w3c/dom/svg/SVGTextPathElement.java | 30 +++++ .../dom/svg/SVGTextPositioningElement.java | 25 ++++ .../java/org/w3c/dom/svg/SVGTitleElement.java | 16 +++ .../java/org/w3c/dom/svg/SVGTransform.java | 42 +++++++ .../org/w3c/dom/svg/SVGTransformList.java | 37 ++++++ .../org/w3c/dom/svg/SVGTransformable.java | 17 +++ .../java/org/w3c/dom/svg/SVGURIReference.java | 17 +++ .../java/org/w3c/dom/svg/SVGUnitTypes.java | 20 ++++ .../java/org/w3c/dom/svg/SVGUseElement.java | 30 +++++ .../java/org/w3c/dom/svg/SVGVKernElement.java | 16 +++ .../java/org/w3c/dom/svg/SVGViewElement.java | 17 +++ .../java/org/w3c/dom/svg/SVGViewSpec.java | 27 +++++ .../java/org/w3c/dom/svg/SVGZoomAndPan.java | 26 +++++ .../java/org/w3c/dom/svg/SVGZoomEvent.java | 27 +++++ 199 files changed, 4337 insertions(+), 185 deletions(-) create mode 100644 smil-api/build.gradle create mode 100644 smil-api/src/main/java/module-info.java create mode 100644 smil-api/src/main/java/org/w3c/dom/smil/ElementTimeControl.java create mode 100644 smil-api/src/main/java/org/w3c/dom/smil/TimeEvent.java create mode 100644 svgom-api/build.gradle create mode 100644 svgom-api/src/main/java/module-info.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/EventListenerInitializer.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/GetSVGDocument.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAngle.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGCSSRule.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGCircleElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGColor.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGCursorElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGDefsElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGDescElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGDocument.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGElementInstance.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGEvent.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGException.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFETileElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFilterElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFontElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGGElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGGradientElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGHKernElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGICCColor.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGImageElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGLangSpace.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGLength.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGLengthList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGLineElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGLocatable.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGMPathElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGMaskElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGMatrix.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGNumber.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGNumberList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPaint.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSeg.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPatternElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPoint.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPointList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGRect.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGRectElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGSVGElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGScriptElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGSetElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGStopElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGStringList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGStylable.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGStyleElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTRefElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTests.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTextElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTitleElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTransform.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTransformList.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGTransformable.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGURIReference.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGUseElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGVKernElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGViewElement.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGViewSpec.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java create mode 100644 svgom-api/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java diff --git a/echosvg-all/build.gradle b/echosvg-all/build.gradle index 3988fff39..34aa4db24 100644 --- a/echosvg-all/build.gradle +++ b/echosvg-all/build.gradle @@ -1,6 +1,5 @@ plugins { id 'echosvg.java-conventions' - id 'de.jjohannes.extra-java-module-info' } dependencies { @@ -13,12 +12,7 @@ dependencies { api project(':echosvg-svgpp') api project(':echosvg-ttf2svg') api project(':echosvg-svgrasterizer') - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" -} - -extraJavaModuleInfo { - failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') + api project(':svgom-api') } description = 'io.sf.carte:echosvg-all' diff --git a/echosvg-all/src/main/java/module-info.java b/echosvg-all/src/main/java/module-info.java index 94338edf3..e3d6eda55 100644 --- a/echosvg-all/src/main/java/module-info.java +++ b/echosvg-all/src/main/java/module-info.java @@ -36,5 +36,5 @@ requires transitive io.sf.carte.echosvg.util.gui; requires transitive io.sf.carte.echosvg.xml; requires transitive io.sf.carte.echosvg.apps.slideshow; - requires xml.apis.ext; + requires transitive org.w3c.dom.svg; } diff --git a/echosvg-anim/build.gradle b/echosvg-anim/build.gradle index 7d4c4bb66..627dcc54b 100644 --- a/echosvg-anim/build.gradle +++ b/echosvg-anim/build.gradle @@ -1,18 +1,11 @@ plugins { id 'echosvg.java-conventions' - id 'de.jjohannes.extra-java-module-info' } dependencies { api project(':echosvg-dom') api project(':echosvg-parser') api project(':echosvg-svg-dom') - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" -} - -extraJavaModuleInfo { - failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') } description = 'io.sf.carte:echosvg-anim' diff --git a/echosvg-anim/src/main/java/module-info.java b/echosvg-anim/src/main/java/module-info.java index 9167109da..ed725f54b 100644 --- a/echosvg-anim/src/main/java/module-info.java +++ b/echosvg-anim/src/main/java/module-info.java @@ -19,15 +19,13 @@ exports io.sf.carte.echosvg.anim; exports io.sf.carte.echosvg.anim.timing; - requires io.sf.carte.echosvg.awt; - requires io.sf.carte.echosvg.css; + requires transitive io.sf.carte.echosvg.awt; requires io.sf.carte.echosvg.external; - requires io.sf.carte.echosvg.parser; + requires io.sf.carte.echosvg.i18n; + requires io.sf.carte.echosvg.constants; requires transitive io.sf.carte.echosvg.dom.svg; requires io.sf.carte.css4j; - requires io.sf.carte.echosvg.dom; requires java.desktop; requires java.xml; requires jdk.xml.dom; - requires xml.apis.ext; } diff --git a/echosvg-awt-util/src/main/java/module-info.java b/echosvg-awt-util/src/main/java/module-info.java index a3224af35..cc4d83b40 100644 --- a/echosvg-awt-util/src/main/java/module-info.java +++ b/echosvg-awt-util/src/main/java/module-info.java @@ -14,18 +14,18 @@ * limitations under the License. */ module io.sf.carte.echosvg.awt { - exports io.sf.carte.echosvg.ext.awt.image.renderable; - exports io.sf.carte.echosvg.ext.awt; - exports io.sf.carte.echosvg.ext.swing; - exports io.sf.carte.echosvg.ext.awt.image.spi; - exports io.sf.carte.echosvg.ext.awt.image.rendered; - exports io.sf.carte.echosvg.ext.awt.image; - exports io.sf.carte.echosvg.ext.awt.geom; - exports io.sf.carte.echosvg.ext.awt.color; - exports io.sf.carte.echosvg.ext.awt.font; - exports io.sf.carte.echosvg.ext.awt.g2d; + exports io.sf.carte.echosvg.ext.awt.image.renderable; + exports io.sf.carte.echosvg.ext.awt; + exports io.sf.carte.echosvg.ext.swing; + exports io.sf.carte.echosvg.ext.awt.image.spi; + exports io.sf.carte.echosvg.ext.awt.image.rendered; + exports io.sf.carte.echosvg.ext.awt.image; + exports io.sf.carte.echosvg.ext.awt.geom; + exports io.sf.carte.echosvg.ext.awt.color; + exports io.sf.carte.echosvg.ext.awt.font; + exports io.sf.carte.echosvg.ext.awt.g2d; - requires io.sf.carte.echosvg.util; - requires transitive java.desktop; - requires xmlgraphics.commons; + requires transitive io.sf.carte.echosvg.util; + requires xmlgraphics.commons; + requires io.sf.carte.echosvg.i18n; } diff --git a/echosvg-bridge/build.gradle b/echosvg-bridge/build.gradle index b86456b41..9cbba70c6 100644 --- a/echosvg-bridge/build.gradle +++ b/echosvg-bridge/build.gradle @@ -12,14 +12,13 @@ dependencies { exclude group: 'xml-apis', module: 'xml-apis' } api "org.apache.xmlgraphics:xmlgraphics-commons:${xmlgraphicsCommonsVersion}" - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" + api project(':svgom-api') implementation "org.mozilla:rhino:${rhinoVersion}" } extraJavaModuleInfo { failOnMissingModuleInfo.set(false) automaticModule("xalan-${xalanVersion}.jar", 'xalan') - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') automaticModule("xmlgraphics-commons-${xmlgraphicsCommonsVersion}.jar", 'xmlgraphics.commons') automaticModule("rhino-${rhinoVersion}.jar", 'org.mozilla.rhino') } diff --git a/echosvg-bridge/src/main/java/module-info.java b/echosvg-bridge/src/main/java/module-info.java index 981277d1b..2da46f778 100644 --- a/echosvg-bridge/src/main/java/module-info.java +++ b/echosvg-bridge/src/main/java/module-info.java @@ -17,19 +17,14 @@ exports io.sf.carte.echosvg.bridge; exports io.sf.carte.echosvg.bridge.svg12; - requires io.sf.carte.echosvg.awt; requires io.sf.carte.echosvg.external; - requires io.sf.carte.echosvg.gvt; - requires io.sf.carte.echosvg.script; - requires io.sf.carte.echosvg.dom.svg; - requires io.sf.carte.css4j; - requires io.sf.carte.echosvg.anim; - requires io.sf.carte.echosvg.parser; - requires java.desktop; - requires java.xml; - requires jdk.xml.dom; + requires transitive io.sf.carte.echosvg.gvt; + requires transitive io.sf.carte.echosvg.script; + requires transitive io.sf.carte.echosvg.anim; + requires transitive io.sf.carte.echosvg.parser; + requires io.sf.carte.echosvg.constants; + requires io.sf.carte.echosvg.i18n; requires org.mozilla.rhino; requires xalan; - requires xml.apis.ext; requires xmlgraphics.commons; } diff --git a/echosvg-css/build.gradle b/echosvg-css/build.gradle index 9f3288e06..bd387fd3a 100644 --- a/echosvg-css/build.gradle +++ b/echosvg-css/build.gradle @@ -5,14 +5,13 @@ plugins { dependencies { api project(':echosvg-util') + api project(':svgom-api') api "org.apache.xmlgraphics:xmlgraphics-commons:${xmlgraphicsCommonsVersion}" - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" api "io.sf.carte:css4j:${css4jVersion}" } extraJavaModuleInfo { failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') automaticModule("xmlgraphics-commons-${xmlgraphicsCommonsVersion}.jar", 'xmlgraphics.commons') } diff --git a/echosvg-css/src/main/java/module-info.java b/echosvg-css/src/main/java/module-info.java index 46b0627f6..4754d0977 100644 --- a/echosvg-css/src/main/java/module-info.java +++ b/echosvg-css/src/main/java/module-info.java @@ -14,19 +14,20 @@ * limitations under the License. */ module io.sf.carte.echosvg.css { - exports io.sf.carte.echosvg.css.engine; - exports io.sf.carte.echosvg.css.engine.value.css2; - exports io.sf.carte.echosvg.css.engine.value.svg; - exports io.sf.carte.echosvg.css.dom; - exports io.sf.carte.echosvg.css.engine.value; - exports io.sf.carte.echosvg.css.engine.value.svg12; + exports io.sf.carte.echosvg.css.engine; + exports io.sf.carte.echosvg.css.engine.value.css2; + exports io.sf.carte.echosvg.css.engine.value.svg; + exports io.sf.carte.echosvg.css.dom; + exports io.sf.carte.echosvg.css.engine.value; + exports io.sf.carte.echosvg.css.engine.value.svg12; - requires transitive io.sf.carte.echosvg.util; - requires io.sf.carte.css4j; - requires io.sf.carte.util; - requires java.desktop; - requires java.xml; - requires jdk.xml.dom; - requires xml.apis.ext; - requires xmlgraphics.commons; + requires transitive io.sf.carte.echosvg.util; + requires io.sf.carte.echosvg.i18n; + requires transitive io.sf.carte.css4j; + requires io.sf.carte.util; + requires java.desktop; + requires java.xml; + requires jdk.xml.dom; + requires transitive org.w3c.dom.svg; + requires xmlgraphics.commons; } diff --git a/echosvg-dom/build.gradle b/echosvg-dom/build.gradle index 94366b5e1..312d8981d 100644 --- a/echosvg-dom/build.gradle +++ b/echosvg-dom/build.gradle @@ -11,12 +11,10 @@ dependencies { exclude group: 'xml-apis', module: 'xml-apis' } api "org.apache.xmlgraphics:xmlgraphics-commons:${xmlgraphicsCommonsVersion}" - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" } extraJavaModuleInfo { failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') automaticModule("xmlgraphics-commons-${xmlgraphicsCommonsVersion}.jar", 'xmlgraphics.commons') automaticModule("xalan-${xalanVersion}.jar", 'xalan') } diff --git a/echosvg-dom/src/main/java/module-info.java b/echosvg-dom/src/main/java/module-info.java index c8b8b413b..bd43d4e4a 100644 --- a/echosvg-dom/src/main/java/module-info.java +++ b/echosvg-dom/src/main/java/module-info.java @@ -24,9 +24,8 @@ requires transitive io.sf.carte.echosvg.css; requires io.sf.carte.echosvg.external; requires transitive io.sf.carte.echosvg.xml; - requires io.sf.carte.css4j; + requires io.sf.carte.echosvg.i18n; requires transitive java.xml; requires transitive jdk.xml.dom; - requires xml.apis.ext; requires xalan; } diff --git a/echosvg-ext/src/main/java/module-info.java b/echosvg-ext/src/main/java/module-info.java index 5e1f83ffc..865c63104 100644 --- a/echosvg-ext/src/main/java/module-info.java +++ b/echosvg-ext/src/main/java/module-info.java @@ -17,5 +17,5 @@ exports io.sf.carte.echosvg.w3c.dom; exports io.sf.carte.echosvg.w3c.dom.events; - requires java.xml; + requires transitive java.xml; } diff --git a/echosvg-extension/build.gradle b/echosvg-extension/build.gradle index f2dfbdb02..478319622 100644 --- a/echosvg-extension/build.gradle +++ b/echosvg-extension/build.gradle @@ -1,17 +1,11 @@ plugins { id 'echosvg.java-conventions' - id 'de.jjohannes.extra-java-module-info' } dependencies { api project(':echosvg-awt-util') api project(':echosvg-bridge') - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" -} - -extraJavaModuleInfo { - failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') + api project(':svgom-api') } description = 'io.sf.carte:echosvg-extension' diff --git a/echosvg-extension/src/main/java/module-info.java b/echosvg-extension/src/main/java/module-info.java index 876b10eda..0b786564f 100644 --- a/echosvg-extension/src/main/java/module-info.java +++ b/echosvg-extension/src/main/java/module-info.java @@ -14,18 +14,17 @@ * limitations under the License. */ module io.sf.carte.echosvg.extension { - exports io.sf.carte.echosvg.extension; - exports io.sf.carte.echosvg.extension.svg; + exports io.sf.carte.echosvg.extension; + exports io.sf.carte.echosvg.extension.svg; - requires io.sf.carte.echosvg.awt; - requires io.sf.carte.echosvg.bridge; - requires io.sf.carte.echosvg.css; - requires io.sf.carte.echosvg.gvt; - requires io.sf.carte.echosvg.parser; - requires io.sf.carte.echosvg.dom; - requires io.sf.carte.echosvg.anim; - requires java.desktop; - requires java.xml; - requires jdk.xml.dom; - requires xml.apis.ext; + requires io.sf.carte.echosvg.bridge; + requires io.sf.carte.echosvg.gvt; + requires io.sf.carte.echosvg.parser; + requires transitive io.sf.carte.echosvg.dom; + requires io.sf.carte.echosvg.anim; + requires io.sf.carte.echosvg.constants; + requires java.desktop; + + requires jdk.xml.dom; + requires transitive org.w3c.dom.svg; } diff --git a/echosvg-gui-util/src/main/java/module-info.java b/echosvg-gui-util/src/main/java/module-info.java index bc225d231..86bb8c10a 100644 --- a/echosvg-gui-util/src/main/java/module-info.java +++ b/echosvg-gui-util/src/main/java/module-info.java @@ -20,5 +20,5 @@ requires io.sf.carte.echosvg.util; requires io.sf.carte.echosvg.xml; - requires java.desktop; + requires transitive java.desktop; } diff --git a/echosvg-parser/build.gradle b/echosvg-parser/build.gradle index da10d6a4e..55d49c942 100644 --- a/echosvg-parser/build.gradle +++ b/echosvg-parser/build.gradle @@ -6,13 +6,12 @@ plugins { dependencies { api project(':echosvg-awt-util') api project(':echosvg-xml') - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" + api project(':svgom-api') api "org.apache.xmlgraphics:xmlgraphics-commons:${xmlgraphicsCommonsVersion}" } extraJavaModuleInfo { failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') automaticModule("xmlgraphics-commons-${xmlgraphicsCommonsVersion}.jar", 'xmlgraphics.commons') } diff --git a/echosvg-parser/src/main/java/module-info.java b/echosvg-parser/src/main/java/module-info.java index 1d301cba5..a41d4fc98 100644 --- a/echosvg-parser/src/main/java/module-info.java +++ b/echosvg-parser/src/main/java/module-info.java @@ -14,10 +14,11 @@ * limitations under the License. */ module io.sf.carte.echosvg.parser { - exports io.sf.carte.echosvg.parser; + exports io.sf.carte.echosvg.parser; - requires io.sf.carte.echosvg.awt; - requires io.sf.carte.echosvg.xml; - requires java.xml; - requires xml.apis.ext; + requires io.sf.carte.echosvg.awt; + requires io.sf.carte.echosvg.xml; + requires io.sf.carte.echosvg.i18n; + requires transitive org.w3c.dom.svg; + requires transitive java.desktop; } diff --git a/echosvg-script/build.gradle b/echosvg-script/build.gradle index 46c54852a..22a9c15fa 100644 --- a/echosvg-script/build.gradle +++ b/echosvg-script/build.gradle @@ -11,7 +11,6 @@ dependencies { extraJavaModuleInfo { failOnMissingModuleInfo.set(false) automaticModule("rhino-${rhinoVersion}.jar", 'org.mozilla.rhino') - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') } description = 'io.sf.carte:echosvg-script' diff --git a/echosvg-script/src/main/java/module-info.java b/echosvg-script/src/main/java/module-info.java index d90c2abb5..80912e342 100644 --- a/echosvg-script/src/main/java/module-info.java +++ b/echosvg-script/src/main/java/module-info.java @@ -17,9 +17,8 @@ exports io.sf.carte.echosvg.script.rhino; exports io.sf.carte.echosvg.script; - requires io.sf.carte.echosvg.util; requires io.sf.carte.echosvg.anim; - requires java.xml; + requires io.sf.carte.echosvg.i18n; + requires transitive java.xml; requires org.mozilla.rhino; - requires xml.apis.ext; } diff --git a/echosvg-slideshow/build.gradle b/echosvg-slideshow/build.gradle index 084001e74..82f4008c9 100644 --- a/echosvg-slideshow/build.gradle +++ b/echosvg-slideshow/build.gradle @@ -1,17 +1,11 @@ plugins { id 'echosvg.java-conventions' - id 'de.jjohannes.extra-java-module-info' } dependencies { api project(':echosvg-bridge') api project(':echosvg-gvt') - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" -} - -extraJavaModuleInfo { - failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') + api project(':svgom-api') } description = 'io.sf.carte:echosvg-slideshow' diff --git a/echosvg-slideshow/src/main/java/module-info.java b/echosvg-slideshow/src/main/java/module-info.java index 81885084d..5f58ef1c0 100644 --- a/echosvg-slideshow/src/main/java/module-info.java +++ b/echosvg-slideshow/src/main/java/module-info.java @@ -18,5 +18,5 @@ requires io.sf.carte.echosvg.bridge; requires io.sf.carte.echosvg.gvt; - requires xml.apis.ext; + requires transitive org.w3c.dom.svg; } diff --git a/echosvg-svg-dom/build.gradle b/echosvg-svg-dom/build.gradle index 916ace9db..01a531f5c 100644 --- a/echosvg-svg-dom/build.gradle +++ b/echosvg-svg-dom/build.gradle @@ -1,18 +1,12 @@ plugins { id 'echosvg.java-conventions' - id 'de.jjohannes.extra-java-module-info' } dependencies { api project(':echosvg-awt-util') api project(':echosvg-dom') api project(':echosvg-parser') - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" -} - -extraJavaModuleInfo { - failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') + api project(':svgom-api') } description = 'io.sf.carte:echosvg-svg-dom' diff --git a/echosvg-svg-dom/src/main/java/module-info.java b/echosvg-svg-dom/src/main/java/module-info.java index e7d0b3c1b..adef114a9 100644 --- a/echosvg-svg-dom/src/main/java/module-info.java +++ b/echosvg-svg-dom/src/main/java/module-info.java @@ -14,15 +14,11 @@ * limitations under the License. */ module io.sf.carte.echosvg.dom.svg { - exports io.sf.carte.echosvg.dom.svg12; - exports io.sf.carte.echosvg.dom.svg; + exports io.sf.carte.echosvg.dom.svg12; + exports io.sf.carte.echosvg.dom.svg; - requires io.sf.carte.echosvg.awt; - requires transitive io.sf.carte.echosvg.css; - requires io.sf.carte.echosvg.parser; - requires transitive io.sf.carte.echosvg.dom; - requires java.desktop; - requires java.xml; - requires jdk.xml.dom; - requires xml.apis.ext; + requires io.sf.carte.echosvg.awt; + requires transitive io.sf.carte.echosvg.css; + requires transitive io.sf.carte.echosvg.parser; + requires transitive io.sf.carte.echosvg.dom; } diff --git a/echosvg-svggen/src/main/java/module-info.java b/echosvg-svggen/src/main/java/module-info.java index facc85536..9d29f6764 100644 --- a/echosvg-svggen/src/main/java/module-info.java +++ b/echosvg-svggen/src/main/java/module-info.java @@ -14,12 +14,13 @@ * limitations under the License. */ module io.sf.carte.echosvg.svggen { - exports io.sf.carte.echosvg.svggen; - exports io.sf.carte.echosvg.svggen.font; - exports io.sf.carte.echosvg.svggen.font.table; + exports io.sf.carte.echosvg.svggen; + exports io.sf.carte.echosvg.svggen.font; + exports io.sf.carte.echosvg.svggen.font.table; - requires io.sf.carte.echosvg.awt; - requires io.sf.carte.echosvg.util; - requires java.desktop; - requires java.xml; + requires transitive io.sf.carte.echosvg.awt; + requires io.sf.carte.echosvg.constants; + requires io.sf.carte.echosvg.i18n; + requires java.desktop; + requires java.xml; } diff --git a/echosvg-swing/build.gradle b/echosvg-swing/build.gradle index 5b9c1141b..7ceb7ae57 100644 --- a/echosvg-swing/build.gradle +++ b/echosvg-swing/build.gradle @@ -1,6 +1,5 @@ plugins { id 'echosvg.java-conventions' - id 'de.jjohannes.extra-java-module-info' } dependencies { @@ -14,12 +13,7 @@ dependencies { api project(':echosvg-gvt') api project(':echosvg-script') api project(':echosvg-util') - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" -} - -extraJavaModuleInfo { - failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') + api project(':svgom-api') } description = 'io.sf.carte:echosvg-swing' diff --git a/echosvg-swing/src/main/java/module-info.java b/echosvg-swing/src/main/java/module-info.java index f6a59034b..cbe621b18 100644 --- a/echosvg-swing/src/main/java/module-info.java +++ b/echosvg-swing/src/main/java/module-info.java @@ -14,26 +14,15 @@ * limitations under the License. */ module io.sf.carte.echosvg.swing { - exports io.sf.carte.echosvg.swing.svg; - exports io.sf.carte.echosvg.swing.gvt; - exports io.sf.carte.echosvg.swing; + exports io.sf.carte.echosvg.swing.svg; + exports io.sf.carte.echosvg.swing.gvt; + exports io.sf.carte.echosvg.swing; - requires io.sf.carte.echosvg.anim; - requires io.sf.carte.echosvg.awt; - requires io.sf.carte.echosvg.bridge; - requires io.sf.carte.echosvg.constants; - requires io.sf.carte.echosvg.css; - requires io.sf.carte.echosvg.dom; - requires io.sf.carte.echosvg.util.gui; - requires io.sf.carte.echosvg.gvt; - requires io.sf.carte.echosvg.i18n; - requires io.sf.carte.echosvg.script; - requires io.sf.carte.echosvg.dom.svg; - requires io.sf.carte.echosvg.util; - requires io.sf.carte.echosvg.xml; - requires java.datatransfer; - requires java.desktop; - requires java.xml; - requires jdk.xml.dom; - requires xml.apis.ext; + requires transitive io.sf.carte.echosvg.bridge; + requires io.sf.carte.echosvg.constants; + requires io.sf.carte.echosvg.util.gui; + requires io.sf.carte.echosvg.gvt; + requires io.sf.carte.echosvg.dom.svg; + requires io.sf.carte.echosvg.i18n; + requires java.datatransfer; } diff --git a/echosvg-transcoder/build.gradle b/echosvg-transcoder/build.gradle index 2eaceb798..cc2458fc9 100644 --- a/echosvg-transcoder/build.gradle +++ b/echosvg-transcoder/build.gradle @@ -1,20 +1,14 @@ plugins { id 'echosvg.java-conventions' - id 'de.jjohannes.extra-java-module-info' } dependencies { api project(':echosvg-bridge') api project(':echosvg-svggen') - api "xml-apis:xml-apis-ext:${xmlApisExtVersion}" + api project(':svgom-api') testImplementation "junit:junit:${junitVersion}" } -extraJavaModuleInfo { - failOnMissingModuleInfo.set(false) - automaticModule("xml-apis-ext-${xmlApisExtVersion}.jar", 'xml.apis.ext') -} - test.enabled = false description = 'io.sf.carte:echosvg-transcoder' diff --git a/echosvg-transcoder/src/main/java/module-info.java b/echosvg-transcoder/src/main/java/module-info.java index bbf581f6a..2d4167eed 100644 --- a/echosvg-transcoder/src/main/java/module-info.java +++ b/echosvg-transcoder/src/main/java/module-info.java @@ -27,17 +27,8 @@ exports io.sf.carte.echosvg.ext.awt.image.codec.util; exports io.sf.carte.echosvg.ext.awt.image.codec.imageio; - requires io.sf.carte.echosvg.awt; - requires io.sf.carte.echosvg.bridge; + requires transitive io.sf.carte.echosvg.svggen; + requires transitive io.sf.carte.echosvg.bridge; requires io.sf.carte.echosvg.i18n; - requires io.sf.carte.echosvg.css; - requires io.sf.carte.echosvg.gvt; - requires io.sf.carte.echosvg.svggen; requires io.sf.carte.echosvg.xml; - requires io.sf.carte.echosvg.anim; - requires io.sf.carte.echosvg.dom; - requires java.desktop; - requires java.xml; - requires jdk.xml.dom; - requires xml.apis.ext; } diff --git a/echosvg-util/src/main/java/module-info.java b/echosvg-util/src/main/java/module-info.java index 2a1dd77b1..406daca1e 100644 --- a/echosvg-util/src/main/java/module-info.java +++ b/echosvg-util/src/main/java/module-info.java @@ -14,11 +14,11 @@ * limitations under the License. */ module io.sf.carte.echosvg.util { - exports io.sf.carte.echosvg.util.io; - exports io.sf.carte.echosvg.util.resources; - exports io.sf.carte.echosvg.util; + exports io.sf.carte.echosvg.util.io; + exports io.sf.carte.echosvg.util.resources; + exports io.sf.carte.echosvg.util; - requires transitive io.sf.carte.echosvg.constants; - requires transitive io.sf.carte.echosvg.i18n; - requires java.desktop; + requires io.sf.carte.echosvg.constants; + requires io.sf.carte.echosvg.i18n; + requires transitive java.desktop; } diff --git a/echosvg-xml/src/main/java/module-info.java b/echosvg-xml/src/main/java/module-info.java index a8b24bc28..4361543ae 100644 --- a/echosvg-xml/src/main/java/module-info.java +++ b/echosvg-xml/src/main/java/module-info.java @@ -16,5 +16,6 @@ module io.sf.carte.echosvg.xml { exports io.sf.carte.echosvg.xml; - requires transitive io.sf.carte.echosvg.util; + requires io.sf.carte.echosvg.util; + requires io.sf.carte.echosvg.i18n; } diff --git a/gradle.properties b/gradle.properties index 8e947ff71..02d3456f1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,5 @@ extraJavaModuleInfoVersion=0.6 css4jVersion=3.4.0 rhinoVersion=1.7.13 xalanVersion=2.7.2 -xmlApisExtVersion=1.3.04 xmlgraphicsCommonsVersion=2.4 junitVersion=4.13.1 diff --git a/settings.gradle b/settings.gradle index a07a9f784..7955ecfdd 100644 --- a/settings.gradle +++ b/settings.gradle @@ -9,6 +9,8 @@ pluginManagement { rootProject.name = 'echosvg' +include(':smil-api') +include(':svgom-api') include(':echosvg-svggen') include(':echosvg-ext') include(':echosvg-dom') diff --git a/smil-api/build.gradle b/smil-api/build.gradle new file mode 100644 index 000000000..15843b499 --- /dev/null +++ b/smil-api/build.gradle @@ -0,0 +1,11 @@ +plugins { + id 'echosvg.java-conventions' +} + +description = 'io.sf.carte:smil-api' + +version = '1.0' + +publishing.publications.maven(MavenPublication).pom { + description = "SMIL 1.0 API Java binding" +} diff --git a/smil-api/src/main/java/module-info.java b/smil-api/src/main/java/module-info.java new file mode 100644 index 000000000..b3a389c42 --- /dev/null +++ b/smil-api/src/main/java/module-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2020-2021 Carlos Amengual + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +module org.w3c.dom.smil { + exports org.w3c.dom.smil; + + requires transitive java.xml; +} diff --git a/smil-api/src/main/java/org/w3c/dom/smil/ElementTimeControl.java b/smil-api/src/main/java/org/w3c/dom/smil/ElementTimeControl.java new file mode 100644 index 000000000..14fa62ff5 --- /dev/null +++ b/smil-api/src/main/java/org/w3c/dom/smil/ElementTimeControl.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.smil; + +public interface ElementTimeControl { + boolean beginElement(); + + boolean beginElementAt(float offset); + + boolean endElement(); + + boolean endElementAt(float offset); +} diff --git a/smil-api/src/main/java/org/w3c/dom/smil/TimeEvent.java b/smil-api/src/main/java/org/w3c/dom/smil/TimeEvent.java new file mode 100644 index 000000000..647f6e37c --- /dev/null +++ b/smil-api/src/main/java/org/w3c/dom/smil/TimeEvent.java @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.smil; + +import org.w3c.dom.events.Event; +import org.w3c.dom.views.AbstractView; + +public interface TimeEvent extends Event { + AbstractView getView(); + + int getDetail(); + + void initTimeEvent(String typeArg, AbstractView viewArg, int detailArg); +} diff --git a/svgom-api/build.gradle b/svgom-api/build.gradle new file mode 100644 index 000000000..a3b1133f5 --- /dev/null +++ b/svgom-api/build.gradle @@ -0,0 +1,15 @@ +plugins { + id 'echosvg.java-conventions' +} + +dependencies { + api project(':smil-api') +} + +description = 'io.sf.carte:svgom-api' + +version = '1.0' + +publishing.publications.maven(MavenPublication).pom { + description = "SVGOM 1.0 API Java binding" +} diff --git a/svgom-api/src/main/java/module-info.java b/svgom-api/src/main/java/module-info.java new file mode 100644 index 000000000..b7a3dd854 --- /dev/null +++ b/svgom-api/src/main/java/module-info.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2020-2021 Carlos Amengual + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +module org.w3c.dom.svg { + exports org.w3c.dom.svg; + + requires transitive jdk.xml.dom; + requires transitive org.w3c.dom.smil; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/EventListenerInitializer.java b/svgom-api/src/main/java/org/w3c/dom/svg/EventListenerInitializer.java new file mode 100644 index 000000000..ebc9d85e0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/EventListenerInitializer.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface EventListenerInitializer { + void initializeEventListeners(SVGDocument doc); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/GetSVGDocument.java b/svgom-api/src/main/java/org/w3c/dom/svg/GetSVGDocument.java new file mode 100644 index 000000000..dbbfaf5ea --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/GetSVGDocument.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface GetSVGDocument { + public SVGDocument getSVGDocument() throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAElement.java new file mode 100644 index 000000000..60996afb2 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAElement.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGAElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, + SVGStylable, SVGTransformable, EventTarget { + public SVGAnimatedString getTarget(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java new file mode 100644 index 000000000..d5c34b5d0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAltGlyphDefElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java new file mode 100644 index 000000000..f08114733 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGAltGlyphElement extends SVGTextPositioningElement, SVGURIReference { + public String getGlyphRef(); + + public void setGlyphRef(String glyphRef) throws DOMException; + + public String getFormat(); + + public void setFormat(String format) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java new file mode 100644 index 000000000..77fa0628d --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAltGlyphItemElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAngle.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAngle.java new file mode 100644 index 000000000..edb4a9a30 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAngle.java @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGAngle { + // Angle Unit Types + public static final short SVG_ANGLETYPE_UNKNOWN = 0; + public static final short SVG_ANGLETYPE_UNSPECIFIED = 1; + public static final short SVG_ANGLETYPE_DEG = 2; + public static final short SVG_ANGLETYPE_RAD = 3; + public static final short SVG_ANGLETYPE_GRAD = 4; + + public short getUnitType(); + + public float getValue(); + + public void setValue(float value) throws DOMException; + + public float getValueInSpecifiedUnits(); + + public void setValueInSpecifiedUnits(float valueInSpecifiedUnits) throws DOMException; + + public String getValueAsString(); + + public void setValueAsString(String valueAsString) throws DOMException; + + public void newValueSpecifiedUnits(short unitType, float valueInSpecifiedUnits); + + public void convertToSpecifiedUnits(short unitType); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java new file mode 100644 index 000000000..c0bc56e63 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimateColorElement extends SVGAnimationElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java new file mode 100644 index 000000000..aef67dcc7 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimateElement extends SVGAnimationElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java new file mode 100644 index 000000000..6ee37acc3 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimateMotionElement extends SVGAnimationElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java new file mode 100644 index 000000000..fe8800765 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimateTransformElement extends SVGAnimationElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java new file mode 100644 index 000000000..6d002a4e2 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimatedAngle { + public SVGAngle getBaseVal(); + + public SVGAngle getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java new file mode 100644 index 000000000..ec92168e6 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGAnimatedBoolean { + public boolean getBaseVal(); + + public void setBaseVal(boolean baseVal) throws DOMException; + + public boolean getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java new file mode 100644 index 000000000..a4261b4fa --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGAnimatedEnumeration { + public short getBaseVal(); + + public void setBaseVal(short baseVal) throws DOMException; + + public short getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java new file mode 100644 index 000000000..ddf92d2d2 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGAnimatedInteger { + public int getBaseVal(); + + public void setBaseVal(int baseVal) throws DOMException; + + public int getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java new file mode 100644 index 000000000..0f40a6cdb --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimatedLength { + public SVGLength getBaseVal(); + + public SVGLength getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java new file mode 100644 index 000000000..73fa91dae --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimatedLengthList { + public SVGLengthList getBaseVal(); + + public SVGLengthList getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java new file mode 100644 index 000000000..ce3fa0235 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGAnimatedNumber { + public float getBaseVal(); + + public void setBaseVal(float baseVal) throws DOMException; + + public float getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java new file mode 100644 index 000000000..2965dd5d3 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimatedNumberList { + public SVGNumberList getBaseVal(); + + public SVGNumberList getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java new file mode 100644 index 000000000..9ff90adda --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimatedPathData { + public SVGPathSegList getPathSegList(); + + public SVGPathSegList getNormalizedPathSegList(); + + public SVGPathSegList getAnimatedPathSegList(); + + public SVGPathSegList getAnimatedNormalizedPathSegList(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java new file mode 100644 index 000000000..700570a1e --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimatedPoints { + public SVGPointList getPoints(); + + public SVGPointList getAnimatedPoints(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java new file mode 100644 index 000000000..6abb9658d --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimatedPreserveAspectRatio { + public SVGPreserveAspectRatio getBaseVal(); + + public SVGPreserveAspectRatio getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java new file mode 100644 index 000000000..f8d792fcf --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimatedRect { + public SVGRect getBaseVal(); + + public SVGRect getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java new file mode 100644 index 000000000..8763507f2 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGAnimatedString { + public String getBaseVal(); + + public void setBaseVal(String baseVal) throws DOMException; + + public String getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java new file mode 100644 index 000000000..91953e515 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGAnimatedTransformList { + public SVGTransformList getBaseVal(); + + public SVGTransformList getAnimVal(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java new file mode 100644 index 000000000..3d5fbcefb --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; +import org.w3c.dom.events.EventTarget; +import org.w3c.dom.smil.ElementTimeControl; + +public interface SVGAnimationElement + extends SVGElement, SVGTests, SVGExternalResourcesRequired, ElementTimeControl, EventTarget { + public SVGElement getTargetElement(); + + public float getStartTime(); + + public float getCurrentTime(); + + public float getSimpleDuration() throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGCSSRule.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGCSSRule.java new file mode 100644 index 000000000..5574b5025 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGCSSRule.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.css.CSSRule; + +public interface SVGCSSRule extends CSSRule { + // Additional CSS RuleType to support ICC color specifications + public static final short COLOR_PROFILE_RULE = 7; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGCircleElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGCircleElement.java new file mode 100644 index 000000000..07245364c --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGCircleElement.java @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGCircleElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, + SVGTransformable, EventTarget { + public SVGAnimatedLength getCx(); + + public SVGAnimatedLength getCy(); + + public SVGAnimatedLength getR(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java new file mode 100644 index 000000000..49d632092 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGClipPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, + SVGStylable, SVGTransformable, SVGUnitTypes { + public SVGAnimatedEnumeration getClipPathUnits(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGColor.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGColor.java new file mode 100644 index 000000000..62c21fbbc --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGColor.java @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.css.CSSValue; +import org.w3c.dom.css.RGBColor; + +public interface SVGColor extends CSSValue { + // Color Types + public static final short SVG_COLORTYPE_UNKNOWN = 0; + public static final short SVG_COLORTYPE_RGBCOLOR = 1; + public static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; + public static final short SVG_COLORTYPE_CURRENTCOLOR = 3; + + public short getColorType(); + + public RGBColor getRGBColor(); + + public SVGICCColor getICCColor(); + + public void setRGBColor(String rgbColor) throws SVGException; + + public void setRGBColorICCColor(String rgbColor, String iccColor) throws SVGException; + + public void setColor(short colorType, String rgbColor, String iccColor) throws SVGException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java new file mode 100644 index 000000000..2f09e311c --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGColorProfileElement extends SVGElement, SVGURIReference, SVGRenderingIntent { + public String getLocal(); + + public void setLocal(String local) throws DOMException; + + public String getName(); + + public void setName(String name) throws DOMException; + + public short getRenderingIntent(); + + public void setRenderingIntent(short renderingIntent) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java new file mode 100644 index 000000000..00f5d424d --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGColorProfileRule extends SVGCSSRule, SVGRenderingIntent { + public String getSrc(); + + public void setSrc(String src) throws DOMException; + + public String getName(); + + public void setName(String name) throws DOMException; + + public short getRenderingIntent(); + + public void setRenderingIntent(short renderingIntent) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java new file mode 100644 index 000000000..bc3d69d79 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGComponentTransferFunctionElement extends SVGElement { + // Component Transfer Types + public static final short SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; + public static final short SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1; + public static final short SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2; + public static final short SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; + public static final short SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4; + public static final short SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5; + + public SVGAnimatedEnumeration getType(); + + public SVGAnimatedNumberList getTableValues(); + + public SVGAnimatedNumber getSlope(); + + public SVGAnimatedNumber getIntercept(); + + public SVGAnimatedNumber getAmplitude(); + + public SVGAnimatedNumber getExponent(); + + public SVGAnimatedNumber getOffset(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGCursorElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGCursorElement.java new file mode 100644 index 000000000..955368ec8 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGCursorElement.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGCursorElement extends SVGElement, SVGURIReference, SVGTests, SVGExternalResourcesRequired { + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java new file mode 100644 index 000000000..f0ad1f7cd --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGDefinitionSrcElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGDefsElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGDefsElement.java new file mode 100644 index 000000000..ef1147031 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGDefsElement.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGDefsElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, + SVGTransformable, EventTarget { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGDescElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGDescElement.java new file mode 100644 index 000000000..d85a4e5ab --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGDescElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGDocument.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGDocument.java new file mode 100644 index 000000000..3576febff --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGDocument.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.Document; +import org.w3c.dom.events.DocumentEvent; + +public interface SVGDocument extends Document, DocumentEvent { + public String getTitle(); + + public String getReferrer(); + + public String getDomain(); + + public String getURL(); + + public SVGSVGElement getRootElement(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGElement.java new file mode 100644 index 000000000..58f812f7e --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGElement.java @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; +import org.w3c.dom.Element; + +public interface SVGElement extends Element { + public String getId(); + + public void setId(String id) throws DOMException; + + public String getXMLbase(); + + public void setXMLbase(String xmlbase) throws DOMException; + + public SVGSVGElement getOwnerSVGElement(); + + public SVGElement getViewportElement(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGElementInstance.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGElementInstance.java new file mode 100644 index 000000000..a9cace842 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGElementInstance.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGElementInstance extends EventTarget { + public SVGElement getCorrespondingElement(); + + public SVGUseElement getCorrespondingUseElement(); + + public SVGElementInstance getParentNode(); + + public SVGElementInstanceList getChildNodes(); + + public SVGElementInstance getFirstChild(); + + public SVGElementInstance getLastChild(); + + public SVGElementInstance getPreviousSibling(); + + public SVGElementInstance getNextSibling(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java new file mode 100644 index 000000000..927328470 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGElementInstanceList { + public int getLength(); + + public SVGElementInstance item(int index); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java new file mode 100644 index 000000000..44d86162a --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGEllipseElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, + SVGStylable, SVGTransformable, EventTarget { + public SVGAnimatedLength getCx(); + + public SVGAnimatedLength getCy(); + + public SVGAnimatedLength getRx(); + + public SVGAnimatedLength getRy(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGEvent.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGEvent.java new file mode 100644 index 000000000..d3f8583fb --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGEvent.java @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.Event; + +public interface SVGEvent extends Event { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGException.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGException.java new file mode 100644 index 000000000..574d1d78d --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGException.java @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public abstract class SVGException extends RuntimeException { + + private static final long serialVersionUID = 1L; + + public SVGException(short code, String message) { + super(message); + this.code = code; + } + + public short code; + // ExceptionCode + public static final short SVG_WRONG_TYPE_ERR = 0; + public static final short SVG_INVALID_VALUE_ERR = 1; + public static final short SVG_MATRIX_NOT_INVERTABLE = 2; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java new file mode 100644 index 000000000..7a35844e7 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGExternalResourcesRequired { + public SVGAnimatedBoolean getExternalResourcesRequired(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java new file mode 100644 index 000000000..80c72b110 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + // Blend Mode Types + public static final short SVG_FEBLEND_MODE_UNKNOWN = 0; + public static final short SVG_FEBLEND_MODE_NORMAL = 1; + public static final short SVG_FEBLEND_MODE_MULTIPLY = 2; + public static final short SVG_FEBLEND_MODE_SCREEN = 3; + public static final short SVG_FEBLEND_MODE_DARKEN = 4; + public static final short SVG_FEBLEND_MODE_LIGHTEN = 5; + + public SVGAnimatedString getIn1(); + + public SVGAnimatedString getIn2(); + + public SVGAnimatedEnumeration getMode(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java new file mode 100644 index 000000000..c818e246f --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + // Color Matrix Types + public static final short SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; + public static final short SVG_FECOLORMATRIX_TYPE_MATRIX = 1; + public static final short SVG_FECOLORMATRIX_TYPE_SATURATE = 2; + public static final short SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; + public static final short SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; + + public SVGAnimatedString getIn1(); + + public SVGAnimatedEnumeration getType(); + + public SVGAnimatedNumberList getValues(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java new file mode 100644 index 000000000..f288d9bd0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + public SVGAnimatedString getIn1(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java new file mode 100644 index 000000000..21970b479 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java @@ -0,0 +1,38 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + // Composite Operators + public static final short SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; + public static final short SVG_FECOMPOSITE_OPERATOR_OVER = 1; + public static final short SVG_FECOMPOSITE_OPERATOR_IN = 2; + public static final short SVG_FECOMPOSITE_OPERATOR_OUT = 3; + public static final short SVG_FECOMPOSITE_OPERATOR_ATOP = 4; + public static final short SVG_FECOMPOSITE_OPERATOR_XOR = 5; + public static final short SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; + + public SVGAnimatedString getIn1(); + + public SVGAnimatedString getIn2(); + + public SVGAnimatedEnumeration getOperator(); + + public SVGAnimatedNumber getK1(); + + public SVGAnimatedNumber getK2(); + + public SVGAnimatedNumber getK3(); + + public SVGAnimatedNumber getK4(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java new file mode 100644 index 000000000..b2614dd48 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + // Edge Mode Values + public static final short SVG_EDGEMODE_UNKNOWN = 0; + public static final short SVG_EDGEMODE_DUPLICATE = 1; + public static final short SVG_EDGEMODE_WRAP = 2; + public static final short SVG_EDGEMODE_NONE = 3; + + public SVGAnimatedInteger getOrderX(); + + public SVGAnimatedInteger getOrderY(); + + public SVGAnimatedNumberList getKernelMatrix(); + + public SVGAnimatedNumber getDivisor(); + + public SVGAnimatedNumber getBias(); + + public SVGAnimatedInteger getTargetX(); + + public SVGAnimatedInteger getTargetY(); + + public SVGAnimatedEnumeration getEdgeMode(); + + public SVGAnimatedNumber getKernelUnitLengthX(); + + public SVGAnimatedNumber getKernelUnitLengthY(); + + public SVGAnimatedBoolean getPreserveAlpha(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java new file mode 100644 index 000000000..2289cc93d --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + SVGAnimatedString getIn1(); + + SVGAnimatedNumber getSurfaceScale(); + + SVGAnimatedNumber getDiffuseConstant(); + + SVGAnimatedNumber getKernelUnitLengthX(); + + SVGAnimatedNumber getKernelUnitLengthY(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java new file mode 100644 index 000000000..b0de7b50a --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + // Channel Selectors + public static final short SVG_CHANNEL_UNKNOWN = 0; + public static final short SVG_CHANNEL_R = 1; + public static final short SVG_CHANNEL_G = 2; + public static final short SVG_CHANNEL_B = 3; + public static final short SVG_CHANNEL_A = 4; + + public SVGAnimatedString getIn1(); + + public SVGAnimatedString getIn2(); + + public SVGAnimatedNumber getScale(); + + public SVGAnimatedEnumeration getXChannelSelector(); + + public SVGAnimatedEnumeration getYChannelSelector(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java new file mode 100644 index 000000000..496cdba5f --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEDistantLightElement extends SVGElement { + public SVGAnimatedNumber getAzimuth(); + + public SVGAnimatedNumber getElevation(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java new file mode 100644 index 000000000..6c3e57418 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + public SVGAnimatedString getIn1(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java new file mode 100644 index 000000000..abb9407a8 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java new file mode 100644 index 000000000..6c45fd41a --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java new file mode 100644 index 000000000..d50d71b54 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java new file mode 100644 index 000000000..81f9846e4 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java new file mode 100644 index 000000000..d1b36a615 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + public SVGAnimatedString getIn1(); + + public SVGAnimatedNumber getStdDeviationX(); + + public SVGAnimatedNumber getStdDeviationY(); + + public void setStdDeviation(float stdDeviationX, float stdDeviationY); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java new file mode 100644 index 000000000..1a410c77c --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEImageElement extends SVGElement, SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGFilterPrimitiveStandardAttributes { + SVGAnimatedPreserveAspectRatio getPreserveAspectRatio(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java new file mode 100644 index 000000000..d55927d77 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java new file mode 100644 index 000000000..080a68ccb --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEMergeNodeElement extends SVGElement { + public SVGAnimatedString getIn1(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java new file mode 100644 index 000000000..fe088aaad --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + // Morphology Operators + public static final short SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; + public static final short SVG_MORPHOLOGY_OPERATOR_ERODE = 1; + public static final short SVG_MORPHOLOGY_OPERATOR_DILATE = 2; + + public SVGAnimatedString getIn1(); + + public SVGAnimatedEnumeration getOperator(); + + public SVGAnimatedNumber getRadiusX(); + + public SVGAnimatedNumber getRadiusY(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java new file mode 100644 index 000000000..fe69dfd82 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + public SVGAnimatedString getIn1(); + + public SVGAnimatedNumber getDx(); + + public SVGAnimatedNumber getDy(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java new file mode 100644 index 000000000..8b19b2de7 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFEPointLightElement extends SVGElement { + public SVGAnimatedNumber getX(); + + public SVGAnimatedNumber getY(); + + public SVGAnimatedNumber getZ(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java new file mode 100644 index 000000000..ad72a5f2d --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + public SVGAnimatedString getIn1(); + + public SVGAnimatedNumber getSurfaceScale(); + + public SVGAnimatedNumber getSpecularConstant(); + + public SVGAnimatedNumber getSpecularExponent(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java new file mode 100644 index 000000000..9a0b88fa4 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFESpotLightElement extends SVGElement { + public SVGAnimatedNumber getX(); + + public SVGAnimatedNumber getY(); + + public SVGAnimatedNumber getZ(); + + public SVGAnimatedNumber getPointsAtX(); + + public SVGAnimatedNumber getPointsAtY(); + + public SVGAnimatedNumber getPointsAtZ(); + + public SVGAnimatedNumber getSpecularExponent(); + + public SVGAnimatedNumber getLimitingConeAngle(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFETileElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFETileElement.java new file mode 100644 index 000000000..1fb5d1bfa --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFETileElement.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + public SVGAnimatedString getIn1(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java new file mode 100644 index 000000000..b1685e75d --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + // Turbulence Types + public static final short SVG_TURBULENCE_TYPE_UNKNOWN = 0; + public static final short SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; + public static final short SVG_TURBULENCE_TYPE_TURBULENCE = 2; + // Stitch Options + public static final short SVG_STITCHTYPE_UNKNOWN = 0; + public static final short SVG_STITCHTYPE_STITCH = 1; + public static final short SVG_STITCHTYPE_NOSTITCH = 2; + + public SVGAnimatedNumber getBaseFrequencyX(); + + public SVGAnimatedNumber getBaseFrequencyY(); + + public SVGAnimatedInteger getNumOctaves(); + + public SVGAnimatedNumber getSeed(); + + public SVGAnimatedEnumeration getStitchTiles(); + + public SVGAnimatedEnumeration getType(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFilterElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFilterElement.java new file mode 100644 index 000000000..d929fa1f9 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFilterElement.java @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFilterElement + extends SVGElement, SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGUnitTypes { + public SVGAnimatedEnumeration getFilterUnits(); + + public SVGAnimatedEnumeration getPrimitiveUnits(); + + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); + + public SVGAnimatedLength getWidth(); + + public SVGAnimatedLength getHeight(); + + public SVGAnimatedInteger getFilterResX(); + + public SVGAnimatedInteger getFilterResY(); + + public void setFilterRes(int filterResX, int filterResY); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java new file mode 100644 index 000000000..2756ae603 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFilterPrimitiveStandardAttributes extends SVGStylable { + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); + + public SVGAnimatedLength getWidth(); + + public SVGAnimatedLength getHeight(); + + public SVGAnimatedString getResult(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java new file mode 100644 index 000000000..2b2fbd5c0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFitToViewBox { + public SVGAnimatedRect getViewBox(); + + public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontElement.java new file mode 100644 index 000000000..276774210 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFontElement extends SVGElement, SVGExternalResourcesRequired, SVGStylable { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java new file mode 100644 index 000000000..791d009ef --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFontFaceElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java new file mode 100644 index 000000000..a0617aad0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFontFaceFormatElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java new file mode 100644 index 000000000..89c4fc052 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFontFaceNameElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java new file mode 100644 index 000000000..7235e20ee --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFontFaceSrcElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java new file mode 100644 index 000000000..544df4ad0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGFontFaceUriElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java new file mode 100644 index 000000000..3aba964e7 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGForeignObjectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, + SVGStylable, SVGTransformable, EventTarget { + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); + + public SVGAnimatedLength getWidth(); + + public SVGAnimatedLength getHeight(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGGElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGGElement.java new file mode 100644 index 000000000..f230b50f3 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGGElement.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, + SVGTransformable, EventTarget { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java new file mode 100644 index 000000000..0d4595c67 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGGlyphElement extends SVGElement, SVGStylable { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java new file mode 100644 index 000000000..a7218daa4 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGGlyphRefElement extends SVGElement, SVGURIReference, SVGStylable { + public String getGlyphRef(); + + public void setGlyphRef(String glyphRef) throws DOMException; + + public String getFormat(); + + public void setFormat(String format) throws DOMException; + + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getDx(); + + public void setDx(float dx) throws DOMException; + + public float getDy(); + + public void setDy(float dy) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGGradientElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGGradientElement.java new file mode 100644 index 000000000..5d31a5bff --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGGradientElement.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGGradientElement + extends SVGElement, SVGURIReference, SVGExternalResourcesRequired, SVGStylable, SVGUnitTypes { + // Spread Method Types + public static final short SVG_SPREADMETHOD_UNKNOWN = 0; + public static final short SVG_SPREADMETHOD_PAD = 1; + public static final short SVG_SPREADMETHOD_REFLECT = 2; + public static final short SVG_SPREADMETHOD_REPEAT = 3; + + public SVGAnimatedEnumeration getGradientUnits(); + + public SVGAnimatedTransformList getGradientTransform(); + + public SVGAnimatedEnumeration getSpreadMethod(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGHKernElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGHKernElement.java new file mode 100644 index 000000000..4e8999ac0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGHKernElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGHKernElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGICCColor.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGICCColor.java new file mode 100644 index 000000000..b33681a7e --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGICCColor.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGICCColor { + public String getColorProfile(); + + public void setColorProfile(String colorProfile) throws DOMException; + + public SVGNumberList getColors(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGImageElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGImageElement.java new file mode 100644 index 000000000..e6026c4a1 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGImageElement.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGImageElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, + SVGExternalResourcesRequired, SVGStylable, SVGTransformable, EventTarget { + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); + + public SVGAnimatedLength getWidth(); + + public SVGAnimatedLength getHeight(); + + public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGLangSpace.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLangSpace.java new file mode 100644 index 000000000..a8756eeb5 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLangSpace.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGLangSpace { + public String getXMLlang(); + + public void setXMLlang(String xmllang) throws DOMException; + + public String getXMLspace(); + + public void setXMLspace(String xmlspace) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGLength.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLength.java new file mode 100644 index 000000000..6778a45b0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLength.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGLength { + // Length Unit Types + public static final short SVG_LENGTHTYPE_UNKNOWN = 0; + public static final short SVG_LENGTHTYPE_NUMBER = 1; + public static final short SVG_LENGTHTYPE_PERCENTAGE = 2; + public static final short SVG_LENGTHTYPE_EMS = 3; + public static final short SVG_LENGTHTYPE_EXS = 4; + public static final short SVG_LENGTHTYPE_PX = 5; + public static final short SVG_LENGTHTYPE_CM = 6; + public static final short SVG_LENGTHTYPE_MM = 7; + public static final short SVG_LENGTHTYPE_IN = 8; + public static final short SVG_LENGTHTYPE_PT = 9; + public static final short SVG_LENGTHTYPE_PC = 10; + + public short getUnitType(); + + public float getValue(); + + public void setValue(float value) throws DOMException; + + public float getValueInSpecifiedUnits(); + + public void setValueInSpecifiedUnits(float valueInSpecifiedUnits) throws DOMException; + + public String getValueAsString(); + + public void setValueAsString(String valueAsString) throws DOMException; + + public void newValueSpecifiedUnits(short unitType, float valueInSpecifiedUnits); + + public void convertToSpecifiedUnits(short unitType); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGLengthList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLengthList.java new file mode 100644 index 000000000..6e22d3859 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLengthList.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGLengthList { + public int getNumberOfItems(); + + public void clear() throws DOMException; + + public SVGLength initialize(SVGLength newItem) throws DOMException, SVGException; + + public SVGLength getItem(int index) throws DOMException; + + public SVGLength insertItemBefore(SVGLength newItem, int index) throws DOMException, SVGException; + + public SVGLength replaceItem(SVGLength newItem, int index) throws DOMException, SVGException; + + public SVGLength removeItem(int index) throws DOMException; + + public SVGLength appendItem(SVGLength newItem) throws DOMException, SVGException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGLineElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLineElement.java new file mode 100644 index 000000000..a7d7f8e43 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLineElement.java @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGLineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, + SVGTransformable, EventTarget { + public SVGAnimatedLength getX1(); + + public SVGAnimatedLength getY1(); + + public SVGAnimatedLength getX2(); + + public SVGAnimatedLength getY2(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java new file mode 100644 index 000000000..43fc8a336 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGLinearGradientElement extends SVGGradientElement { + public SVGAnimatedLength getX1(); + + public SVGAnimatedLength getY1(); + + public SVGAnimatedLength getX2(); + + public SVGAnimatedLength getY2(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGLocatable.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLocatable.java new file mode 100644 index 000000000..438580cf8 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGLocatable.java @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGLocatable { + public SVGElement getNearestViewportElement(); + + public SVGElement getFarthestViewportElement(); + + public SVGRect getBBox(); + + public SVGMatrix getCTM(); + + public SVGMatrix getScreenCTM(); + + public SVGMatrix getTransformToElement(SVGElement element) throws SVGException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGMPathElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMPathElement.java new file mode 100644 index 000000000..2a49ef2b1 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMPathElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGMPathElement extends SVGElement, SVGURIReference, SVGExternalResourcesRequired { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java new file mode 100644 index 000000000..ad91aeb4f --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGMarkerElement + extends SVGElement, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox { + // Marker Unit Types + public static final short SVG_MARKERUNITS_UNKNOWN = 0; + public static final short SVG_MARKERUNITS_USERSPACEONUSE = 1; + public static final short SVG_MARKERUNITS_STROKEWIDTH = 2; + // Marker Orientation Types + public static final short SVG_MARKER_ORIENT_UNKNOWN = 0; + public static final short SVG_MARKER_ORIENT_AUTO = 1; + public static final short SVG_MARKER_ORIENT_ANGLE = 2; + + public SVGAnimatedLength getRefX(); + + public SVGAnimatedLength getRefY(); + + public SVGAnimatedEnumeration getMarkerUnits(); + + public SVGAnimatedLength getMarkerWidth(); + + public SVGAnimatedLength getMarkerHeight(); + + public SVGAnimatedEnumeration getOrientType(); + + public SVGAnimatedAngle getOrientAngle(); + + public void setOrientToAuto(); + + public void setOrientToAngle(SVGAngle angle); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGMaskElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMaskElement.java new file mode 100644 index 000000000..93aaa78e8 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMaskElement.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGMaskElement + extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGUnitTypes { + public SVGAnimatedEnumeration getMaskUnits(); + + public SVGAnimatedEnumeration getMaskContentUnits(); + + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); + + public SVGAnimatedLength getWidth(); + + public SVGAnimatedLength getHeight(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGMatrix.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMatrix.java new file mode 100644 index 000000000..55cef01dd --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMatrix.java @@ -0,0 +1,63 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGMatrix { + public float getA(); + + public void setA(float a) throws DOMException; + + public float getB(); + + public void setB(float b) throws DOMException; + + public float getC(); + + public void setC(float c) throws DOMException; + + public float getD(); + + public void setD(float d) throws DOMException; + + public float getE(); + + public void setE(float e) throws DOMException; + + public float getF(); + + public void setF(float f) throws DOMException; + + public SVGMatrix multiply(SVGMatrix secondMatrix); + + public SVGMatrix inverse() throws SVGException; + + public SVGMatrix translate(float x, float y); + + public SVGMatrix scale(float scaleFactor); + + public SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY); + + public SVGMatrix rotate(float angle); + + public SVGMatrix rotateFromVector(float x, float y) throws SVGException; + + public SVGMatrix flipX(); + + public SVGMatrix flipY(); + + public SVGMatrix skewX(float angle); + + public SVGMatrix skewY(float angle); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java new file mode 100644 index 000000000..398f39630 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGMetadataElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java new file mode 100644 index 000000000..5e8cfcf33 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGMissingGlyphElement extends SVGElement, SVGStylable { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGNumber.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGNumber.java new file mode 100644 index 000000000..4300a6a89 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGNumber.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGNumber { + public float getValue(); + + public void setValue(float value) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGNumberList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGNumberList.java new file mode 100644 index 000000000..98bdef52b --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGNumberList.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGNumberList { + public int getNumberOfItems(); + + public void clear() throws DOMException; + + public SVGNumber initialize(SVGNumber newItem) throws DOMException, SVGException; + + public SVGNumber getItem(int index) throws DOMException; + + public SVGNumber insertItemBefore(SVGNumber newItem, int index) throws DOMException, SVGException; + + public SVGNumber replaceItem(SVGNumber newItem, int index) throws DOMException, SVGException; + + public SVGNumber removeItem(int index) throws DOMException; + + public SVGNumber appendItem(SVGNumber newItem) throws DOMException, SVGException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPaint.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPaint.java new file mode 100644 index 000000000..ac647cf92 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPaint.java @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGPaint extends SVGColor { + // Paint Types + public static final short SVG_PAINTTYPE_UNKNOWN = 0; + public static final short SVG_PAINTTYPE_RGBCOLOR = 1; + public static final short SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; + public static final short SVG_PAINTTYPE_NONE = 101; + public static final short SVG_PAINTTYPE_CURRENTCOLOR = 102; + public static final short SVG_PAINTTYPE_URI_NONE = 103; + public static final short SVG_PAINTTYPE_URI_CURRENTCOLOR = 104; + public static final short SVG_PAINTTYPE_URI_RGBCOLOR = 105; + public static final short SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; + public static final short SVG_PAINTTYPE_URI = 107; + + public short getPaintType(); + + public String getUri(); + + public void setUri(String uri); + + public void setPaint(short paintType, String uri, String rgbColor, String iccColor) throws SVGException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathElement.java new file mode 100644 index 000000000..41b24a6bd --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathElement.java @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, + SVGTransformable, EventTarget, SVGAnimatedPathData { + public SVGAnimatedNumber getPathLength(); + + public float getTotalLength(); + + public SVGPoint getPointAtLength(float distance); + + public int getPathSegAtLength(float distance); + + public SVGPathSegClosePath createSVGPathSegClosePath(); + + public SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(float x, float y); + + public SVGPathSegMovetoRel createSVGPathSegMovetoRel(float x, float y); + + public SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(float x, float y); + + public SVGPathSegLinetoRel createSVGPathSegLinetoRel(float x, float y); + + public SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, + float y2); + + public SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, + float y2); + + public SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1); + + public SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1); + + public SVGPathSegArcAbs createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, + boolean largeArcFlag, boolean sweepFlag); + + public SVGPathSegArcRel createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, + boolean largeArcFlag, boolean sweepFlag); + + public SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(float x); + + public SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(float x); + + public SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(float y); + + public SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(float y); + + public SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2); + + public SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2); + + public SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y); + + public SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSeg.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSeg.java new file mode 100644 index 000000000..60d63f0d0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSeg.java @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGPathSeg { + // Path Segment Types + public static final short PATHSEG_UNKNOWN = 0; + public static final short PATHSEG_CLOSEPATH = 1; + public static final short PATHSEG_MOVETO_ABS = 2; + public static final short PATHSEG_MOVETO_REL = 3; + public static final short PATHSEG_LINETO_ABS = 4; + public static final short PATHSEG_LINETO_REL = 5; + public static final short PATHSEG_CURVETO_CUBIC_ABS = 6; + public static final short PATHSEG_CURVETO_CUBIC_REL = 7; + public static final short PATHSEG_CURVETO_QUADRATIC_ABS = 8; + public static final short PATHSEG_CURVETO_QUADRATIC_REL = 9; + public static final short PATHSEG_ARC_ABS = 10; + public static final short PATHSEG_ARC_REL = 11; + public static final short PATHSEG_LINETO_HORIZONTAL_ABS = 12; + public static final short PATHSEG_LINETO_HORIZONTAL_REL = 13; + public static final short PATHSEG_LINETO_VERTICAL_ABS = 14; + public static final short PATHSEG_LINETO_VERTICAL_REL = 15; + public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16; + public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17; + public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18; + public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19; + + public short getPathSegType(); + + public String getPathSegTypeAsLetter(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java new file mode 100644 index 000000000..1f779853c --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegArcAbs extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getR1(); + + public void setR1(float r1) throws DOMException; + + public float getR2(); + + public void setR2(float r2) throws DOMException; + + public float getAngle(); + + public void setAngle(float angle) throws DOMException; + + public boolean getLargeArcFlag(); + + public void setLargeArcFlag(boolean largeArcFlag) throws DOMException; + + public boolean getSweepFlag(); + + public void setSweepFlag(boolean sweepFlag) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java new file mode 100644 index 000000000..9ba1e41c6 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegArcRel extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getR1(); + + public void setR1(float r1) throws DOMException; + + public float getR2(); + + public void setR2(float r2) throws DOMException; + + public float getAngle(); + + public void setAngle(float angle) throws DOMException; + + public boolean getLargeArcFlag(); + + public void setLargeArcFlag(boolean largeArcFlag) throws DOMException; + + public boolean getSweepFlag(); + + public void setSweepFlag(boolean sweepFlag) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java new file mode 100644 index 000000000..220741b39 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGPathSegClosePath extends SVGPathSeg { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java new file mode 100644 index 000000000..4ed9da241 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getX1(); + + public void setX1(float x1) throws DOMException; + + public float getY1(); + + public void setY1(float y1) throws DOMException; + + public float getX2(); + + public void setX2(float x2) throws DOMException; + + public float getY2(); + + public void setY2(float y2) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java new file mode 100644 index 000000000..85cf784ba --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegCurvetoCubicRel extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getX1(); + + public void setX1(float x1) throws DOMException; + + public float getY1(); + + public void setY1(float y1) throws DOMException; + + public float getX2(); + + public void setX2(float x2) throws DOMException; + + public float getY2(); + + public void setY2(float y2) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java new file mode 100644 index 000000000..888f81e0c --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getX2(); + + public void setX2(float x2) throws DOMException; + + public float getY2(); + + public void setY2(float y2) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java new file mode 100644 index 000000000..7c3206220 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getX2(); + + public void setX2(float x2) throws DOMException; + + public float getY2(); + + public void setY2(float y2) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java new file mode 100644 index 000000000..44c9ee730 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getX1(); + + public void setX1(float x1) throws DOMException; + + public float getY1(); + + public void setY1(float y1) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java new file mode 100644 index 000000000..cda7b42f8 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getX1(); + + public void setX1(float x1) throws DOMException; + + public float getY1(); + + public void setY1(float y1) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java new file mode 100644 index 000000000..606760b9c --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java new file mode 100644 index 000000000..22385e704 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java new file mode 100644 index 000000000..65efc83c3 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegLinetoAbs extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java new file mode 100644 index 000000000..3d5e95e60 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java new file mode 100644 index 000000000..61da57f88 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java new file mode 100644 index 000000000..07cdb1c76 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegLinetoRel extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java new file mode 100644 index 000000000..f139d1b89 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg { + public float getY(); + + public void setY(float y) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java new file mode 100644 index 000000000..b6bc472ae --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegLinetoVerticalRel extends SVGPathSeg { + public float getY(); + + public void setY(float y) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegList.java new file mode 100644 index 000000000..44dd6f370 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegList.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegList { + public int getNumberOfItems(); + + public void clear() throws DOMException; + + public SVGPathSeg initialize(SVGPathSeg newItem) throws DOMException, SVGException; + + public SVGPathSeg getItem(int index) throws DOMException; + + public SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index) throws DOMException, SVGException; + + public SVGPathSeg replaceItem(SVGPathSeg newItem, int index) throws DOMException, SVGException; + + public SVGPathSeg removeItem(int index) throws DOMException; + + public SVGPathSeg appendItem(SVGPathSeg newItem) throws DOMException, SVGException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java new file mode 100644 index 000000000..74e12e317 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegMovetoAbs extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java new file mode 100644 index 000000000..f7f7e6870 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPathSegMovetoRel extends SVGPathSeg { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPatternElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPatternElement.java new file mode 100644 index 000000000..582550cec --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPatternElement.java @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGPatternElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, + SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox, SVGUnitTypes { + public SVGAnimatedEnumeration getPatternUnits(); + + public SVGAnimatedEnumeration getPatternContentUnits(); + + public SVGAnimatedTransformList getPatternTransform(); + + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); + + public SVGAnimatedLength getWidth(); + + public SVGAnimatedLength getHeight(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPoint.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPoint.java new file mode 100644 index 000000000..764b71849 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPoint.java @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPoint { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public SVGPoint matrixTransform(SVGMatrix matrix); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPointList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPointList.java new file mode 100644 index 000000000..7ffed4ec6 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPointList.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPointList { + public int getNumberOfItems(); + + public void clear() throws DOMException; + + public SVGPoint initialize(SVGPoint newItem) throws DOMException, SVGException; + + public SVGPoint getItem(int index) throws DOMException; + + public SVGPoint insertItemBefore(SVGPoint newItem, int index) throws DOMException, SVGException; + + public SVGPoint replaceItem(SVGPoint newItem, int index) throws DOMException, SVGException; + + public SVGPoint removeItem(int index) throws DOMException; + + public SVGPoint appendItem(SVGPoint newItem) throws DOMException, SVGException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java new file mode 100644 index 000000000..0946a59e2 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGPolygonElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, + SVGStylable, SVGTransformable, EventTarget, SVGAnimatedPoints { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java new file mode 100644 index 000000000..666f53db6 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGPolylineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, + SVGStylable, SVGTransformable, EventTarget, SVGAnimatedPoints { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java new file mode 100644 index 000000000..6fc77dfee --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGPreserveAspectRatio { + // Alignment Types + public static final short SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; + public static final short SVG_PRESERVEASPECTRATIO_NONE = 1; + public static final short SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; + public static final short SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; + public static final short SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4; + public static final short SVG_PRESERVEASPECTRATIO_XMINYMID = 5; + public static final short SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; + public static final short SVG_PRESERVEASPECTRATIO_XMAXYMID = 7; + public static final short SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; + public static final short SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9; + public static final short SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10; + // Meet-or-slice Types + public static final short SVG_MEETORSLICE_UNKNOWN = 0; + public static final short SVG_MEETORSLICE_MEET = 1; + public static final short SVG_MEETORSLICE_SLICE = 2; + + public short getAlign(); + + public void setAlign(short align) throws DOMException; + + public short getMeetOrSlice(); + + public void setMeetOrSlice(short meetOrSlice) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java new file mode 100644 index 000000000..428c92c26 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGRadialGradientElement extends SVGGradientElement { + public SVGAnimatedLength getCx(); + + public SVGAnimatedLength getCy(); + + public SVGAnimatedLength getR(); + + public SVGAnimatedLength getFx(); + + public SVGAnimatedLength getFy(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGRect.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGRect.java new file mode 100644 index 000000000..19dd815fa --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGRect.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGRect { + public float getX(); + + public void setX(float x) throws DOMException; + + public float getY(); + + public void setY(float y) throws DOMException; + + public float getWidth(); + + public void setWidth(float width) throws DOMException; + + public float getHeight(); + + public void setHeight(float height) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGRectElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGRectElement.java new file mode 100644 index 000000000..6cad03582 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGRectElement.java @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGRectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, + SVGTransformable, EventTarget { + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); + + public SVGAnimatedLength getWidth(); + + public SVGAnimatedLength getHeight(); + + public SVGAnimatedLength getRx(); + + public SVGAnimatedLength getRy(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java new file mode 100644 index 000000000..d60c688ad --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGRenderingIntent { + // Rendering Intent Types + public static final short RENDERING_INTENT_UNKNOWN = 0; + public static final short RENDERING_INTENT_AUTO = 1; + public static final short RENDERING_INTENT_PERCEPTUAL = 2; + public static final short RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3; + public static final short RENDERING_INTENT_SATURATION = 4; + public static final short RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGSVGElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGSVGElement.java new file mode 100644 index 000000000..ecd88e73e --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGSVGElement.java @@ -0,0 +1,108 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; +import org.w3c.dom.Element; +import org.w3c.dom.NodeList; +import org.w3c.dom.css.DocumentCSS; +import org.w3c.dom.css.ViewCSS; +import org.w3c.dom.events.DocumentEvent; +import org.w3c.dom.events.EventTarget; + +public interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, + SVGLocatable, SVGFitToViewBox, SVGZoomAndPan, EventTarget, DocumentEvent, ViewCSS, DocumentCSS { + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); + + public SVGAnimatedLength getWidth(); + + public SVGAnimatedLength getHeight(); + + public String getContentScriptType(); + + public void setContentScriptType(String contentScriptType) throws DOMException; + + public String getContentStyleType(); + + public void setContentStyleType(String contentStyleType) throws DOMException; + + public SVGRect getViewport(); + + public float getPixelUnitToMillimeterX(); + + public float getPixelUnitToMillimeterY(); + + public float getScreenPixelToMillimeterX(); + + public float getScreenPixelToMillimeterY(); + + public boolean getUseCurrentView(); + + public void setUseCurrentView(boolean useCurrentView) throws DOMException; + + public SVGViewSpec getCurrentView(); + + public float getCurrentScale(); + + public void setCurrentScale(float currentScale) throws DOMException; + + public SVGPoint getCurrentTranslate(); + + public int suspendRedraw(int max_wait_milliseconds); + + public void unsuspendRedraw(int suspend_handle_id) throws DOMException; + + public void unsuspendRedrawAll(); + + public void forceRedraw(); + + public void pauseAnimations(); + + public void unpauseAnimations(); + + public boolean animationsPaused(); + + public float getCurrentTime(); + + public void setCurrentTime(float seconds); + + public NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement); + + public NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement); + + public boolean checkIntersection(SVGElement element, SVGRect rect); + + public boolean checkEnclosure(SVGElement element, SVGRect rect); + + public void deselectAll(); + + public SVGNumber createSVGNumber(); + + public SVGLength createSVGLength(); + + public SVGAngle createSVGAngle(); + + public SVGPoint createSVGPoint(); + + public SVGMatrix createSVGMatrix(); + + public SVGRect createSVGRect(); + + public SVGTransform createSVGTransform(); + + public SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix); + + public Element getElementById(String elementId); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGScriptElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGScriptElement.java new file mode 100644 index 000000000..fb37cdb1a --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGScriptElement.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResourcesRequired { + public String getType(); + + public void setType(String type) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGSetElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGSetElement.java new file mode 100644 index 000000000..cd15d637e --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGSetElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGSetElement extends SVGAnimationElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGStopElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGStopElement.java new file mode 100644 index 000000000..b3024945a --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGStopElement.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGStopElement extends SVGElement, SVGStylable { + public SVGAnimatedNumber getOffset(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGStringList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGStringList.java new file mode 100644 index 000000000..6b4226fa3 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGStringList.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGStringList { + public int getNumberOfItems(); + + public void clear() throws DOMException; + + public String initialize(String newItem) throws DOMException, SVGException; + + public String getItem(int index) throws DOMException; + + public String insertItemBefore(String newItem, int index) throws DOMException, SVGException; + + public String replaceItem(String newItem, int index) throws DOMException, SVGException; + + public String removeItem(int index) throws DOMException; + + public String appendItem(String newItem) throws DOMException, SVGException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGStylable.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGStylable.java new file mode 100644 index 000000000..a53c28696 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGStylable.java @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.css.CSSStyleDeclaration; +import org.w3c.dom.css.CSSValue; + +public interface SVGStylable { + public SVGAnimatedString getClassName(); + + public CSSStyleDeclaration getStyle(); + + public CSSValue getPresentationAttribute(String name); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGStyleElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGStyleElement.java new file mode 100644 index 000000000..8d8add14a --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGStyleElement.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGStyleElement extends SVGElement { + public String getXMLspace(); + + public void setXMLspace(String xmlspace) throws DOMException; + + public String getType(); + + public void setType(String type) throws DOMException; + + public String getMedia(); + + public void setMedia(String media) throws DOMException; + + public String getTitle(); + + public void setTitle(String title) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java new file mode 100644 index 000000000..050f40375 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGSwitchElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, + SVGTransformable, EventTarget { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java new file mode 100644 index 000000000..af57d7e17 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGSymbolElement + extends SVGElement, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox, EventTarget { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTRefElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTRefElement.java new file mode 100644 index 000000000..979844375 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTRefElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGTRefElement extends SVGTextPositioningElement, SVGURIReference { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java new file mode 100644 index 000000000..6549546d6 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGTSpanElement extends SVGTextPositioningElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTests.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTests.java new file mode 100644 index 000000000..354320c7e --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTests.java @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGTests { + public SVGStringList getRequiredFeatures(); + + public SVGStringList getRequiredExtensions(); + + public SVGStringList getSystemLanguage(); + + public boolean hasExtension(String extension); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java new file mode 100644 index 000000000..ff83b4e14 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; +import org.w3c.dom.events.EventTarget; + +public interface SVGTextContentElement + extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, EventTarget { + // lengthAdjust Types + public static final short LENGTHADJUST_UNKNOWN = 0; + public static final short LENGTHADJUST_SPACING = 1; + public static final short LENGTHADJUST_SPACINGANDGLYPHS = 2; + + public SVGAnimatedLength getTextLength(); + + public SVGAnimatedEnumeration getLengthAdjust(); + + public int getNumberOfChars(); + + public float getComputedTextLength(); + + public float getSubStringLength(int charnum, int nchars) throws DOMException; + + public SVGPoint getStartPositionOfChar(int charnum) throws DOMException; + + public SVGPoint getEndPositionOfChar(int charnum) throws DOMException; + + public SVGRect getExtentOfChar(int charnum) throws DOMException; + + public float getRotationOfChar(int charnum) throws DOMException; + + public int getCharNumAtPosition(SVGPoint point); + + public void selectSubString(int charnum, int nchars) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextElement.java new file mode 100644 index 000000000..7da933f5c --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGTextElement extends SVGTextPositioningElement, SVGTransformable { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java new file mode 100644 index 000000000..15a66d1e3 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { + // textPath Method Types + public static final short TEXTPATH_METHODTYPE_UNKNOWN = 0; + public static final short TEXTPATH_METHODTYPE_ALIGN = 1; + public static final short TEXTPATH_METHODTYPE_STRETCH = 2; + // textPath Spacing Types + public static final short TEXTPATH_SPACINGTYPE_UNKNOWN = 0; + public static final short TEXTPATH_SPACINGTYPE_AUTO = 1; + public static final short TEXTPATH_SPACINGTYPE_EXACT = 2; + + public SVGAnimatedLength getStartOffset(); + + public SVGAnimatedEnumeration getMethod(); + + public SVGAnimatedEnumeration getSpacing(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java new file mode 100644 index 000000000..dd6554522 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGTextPositioningElement extends SVGTextContentElement { + public SVGAnimatedLengthList getX(); + + public SVGAnimatedLengthList getY(); + + public SVGAnimatedLengthList getDx(); + + public SVGAnimatedLengthList getDy(); + + public SVGAnimatedNumberList getRotate(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTitleElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTitleElement.java new file mode 100644 index 000000000..b964a64dd --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTitleElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGTitleElement extends SVGElement, SVGLangSpace, SVGStylable { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTransform.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTransform.java new file mode 100644 index 000000000..dbc71a07f --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTransform.java @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGTransform { + // Transform Types + public static final short SVG_TRANSFORM_UNKNOWN = 0; + public static final short SVG_TRANSFORM_MATRIX = 1; + public static final short SVG_TRANSFORM_TRANSLATE = 2; + public static final short SVG_TRANSFORM_SCALE = 3; + public static final short SVG_TRANSFORM_ROTATE = 4; + public static final short SVG_TRANSFORM_SKEWX = 5; + public static final short SVG_TRANSFORM_SKEWY = 6; + + public short getType(); + + public SVGMatrix getMatrix(); + + public float getAngle(); + + public void setMatrix(SVGMatrix matrix); + + public void setTranslate(float tx, float ty); + + public void setScale(float sx, float sy); + + public void setRotate(float angle, float cx, float cy); + + public void setSkewX(float angle); + + public void setSkewY(float angle); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTransformList.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTransformList.java new file mode 100644 index 000000000..8291cb85c --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTransformList.java @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGTransformList { + public int getNumberOfItems(); + + public void clear() throws DOMException; + + public SVGTransform initialize(SVGTransform newItem) throws DOMException, SVGException; + + public SVGTransform getItem(int index) throws DOMException; + + public SVGTransform insertItemBefore(SVGTransform newItem, int index) throws DOMException, SVGException; + + public SVGTransform replaceItem(SVGTransform newItem, int index) throws DOMException, SVGException; + + public SVGTransform removeItem(int index) throws DOMException; + + public SVGTransform appendItem(SVGTransform newItem) throws DOMException, SVGException; + + public SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix); + + public SVGTransform consolidate(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGTransformable.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTransformable.java new file mode 100644 index 000000000..6225fbc8f --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGTransformable.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGTransformable extends SVGLocatable { + public SVGAnimatedTransformList getTransform(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGURIReference.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGURIReference.java new file mode 100644 index 000000000..d337861ce --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGURIReference.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGURIReference { + public SVGAnimatedString getHref(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java new file mode 100644 index 000000000..06ca28a73 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGUnitTypes { + // Unit Types + public static final short SVG_UNIT_TYPE_UNKNOWN = 0; + public static final short SVG_UNIT_TYPE_USERSPACEONUSE = 1; + public static final short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGUseElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGUseElement.java new file mode 100644 index 000000000..45885a395 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGUseElement.java @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.EventTarget; + +public interface SVGUseElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, + SVGExternalResourcesRequired, SVGStylable, SVGTransformable, EventTarget { + public SVGAnimatedLength getX(); + + public SVGAnimatedLength getY(); + + public SVGAnimatedLength getWidth(); + + public SVGAnimatedLength getHeight(); + + public SVGElementInstance getInstanceRoot(); + + public SVGElementInstance getAnimatedInstanceRoot(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGVKernElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGVKernElement.java new file mode 100644 index 000000000..3629ab0e0 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGVKernElement.java @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGVKernElement extends SVGElement { +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGViewElement.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGViewElement.java new file mode 100644 index 000000000..da1aa2102 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGViewElement.java @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFitToViewBox, SVGZoomAndPan { + public SVGStringList getViewTarget(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGViewSpec.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGViewSpec.java new file mode 100644 index 000000000..790cffb1a --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGViewSpec.java @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +public interface SVGViewSpec extends SVGZoomAndPan, SVGFitToViewBox { + public SVGTransformList getTransform(); + + public SVGElement getViewTarget(); + + public String getViewBoxString(); + + public String getPreserveAspectRatioString(); + + public String getTransformString(); + + public String getViewTargetString(); +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java new file mode 100644 index 000000000..49c3aefad --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.DOMException; + +public interface SVGZoomAndPan { + // Zoom and Pan Types + public static final short SVG_ZOOMANDPAN_UNKNOWN = 0; + public static final short SVG_ZOOMANDPAN_DISABLE = 1; + public static final short SVG_ZOOMANDPAN_MAGNIFY = 2; + + public short getZoomAndPan(); + + public void setZoomAndPan(short zoomAndPan) throws DOMException; +} diff --git a/svgom-api/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java b/svgom-api/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java new file mode 100644 index 000000000..2348b9723 --- /dev/null +++ b/svgom-api/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2010 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom.svg; + +import org.w3c.dom.events.UIEvent; + +public interface SVGZoomEvent extends UIEvent { + public SVGRect getZoomRectScreen(); + + public float getPreviousScale(); + + public SVGPoint getPreviousTranslate(); + + public float getNewScale(); + + public SVGPoint getNewTranslate(); +}