From 69e79c2b0bf19a839099604c01d0baf9cebcc6b7 Mon Sep 17 00:00:00 2001 From: zhouping Date: Thu, 19 Mar 2020 17:18:27 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-27578=20=E8=B5=84=E6=BA=90=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E9=81=97=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...batik.apps.svgbrowser.SquiggleInputHandler | 21 +++++++++++++ .../org.apache.batik.bridge.BridgeExtension | 24 +++++++++++++++ .../org.apache.batik.dom.DomExtension | 24 +++++++++++++++ ...apache.batik.ext.awt.image.spi.ImageWriter | 29 ++++++++++++++++++ ...ache.batik.ext.awt.image.spi.RegistryEntry | 29 ++++++++++++++++++ ...org.apache.batik.script.InterpreterFactory | 30 +++++++++++++++++++ 6 files changed, 157 insertions(+) create mode 100644 fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.apps.svgbrowser.SquiggleInputHandler create mode 100644 fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.bridge.BridgeExtension create mode 100644 fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.dom.DomExtension create mode 100644 fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.ext.awt.image.spi.ImageWriter create mode 100644 fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.ext.awt.image.spi.RegistryEntry create mode 100644 fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.script.InterpreterFactory diff --git a/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.apps.svgbrowser.SquiggleInputHandler b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.apps.svgbrowser.SquiggleInputHandler new file mode 100644 index 000000000..39b230f57 --- /dev/null +++ b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.apps.svgbrowser.SquiggleInputHandler @@ -0,0 +1,21 @@ +# ----------------------------------------------------------------------------- +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. +# +# $Id$ +# ----------------------------------------------------------------------------- + +# org.apache.batik.apps.svgbrowser.XMLInputHandler diff --git a/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.bridge.BridgeExtension b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.bridge.BridgeExtension new file mode 100644 index 000000000..51f48e1f5 --- /dev/null +++ b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.bridge.BridgeExtension @@ -0,0 +1,24 @@ +# ----------------------------------------------------------------------------- +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. +# +# This file registers the example Bridge extension as a service for the +# Bridge context. +# +# $Id$ +# ----------------------------------------------------------------------------- + +org.apache.batik.extension.svg.BatikBridgeExtension diff --git a/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.dom.DomExtension b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.dom.DomExtension new file mode 100644 index 000000000..e26bff5eb --- /dev/null +++ b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.dom.DomExtension @@ -0,0 +1,24 @@ +# ----------------------------------------------------------------------------- +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. +# +# This file registers the example DOM extension as a service for the +# SVGOMDocument. +# +# $Id$ +# ----------------------------------------------------------------------------- + +org.apache.batik.extension.svg.BatikDomExtension diff --git a/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.ext.awt.image.spi.ImageWriter b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.ext.awt.image.spi.ImageWriter new file mode 100644 index 000000000..221bd91a8 --- /dev/null +++ b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.ext.awt.image.spi.ImageWriter @@ -0,0 +1,29 @@ +# ----------------------------------------------------------------------------- +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. +# +# This file registers PNG and JPEG writer classes. +# +# $Id$ +# ----------------------------------------------------------------------------- + +# NOTE: the "codec" package is deprecated, there entries are kept here for compatibility with older JVM versions +# (uses "sun.image", which is only supported in Sun Java implementations and was retired in JDK 7) +#org.apache.batik.ext.awt.image.codec.png.PNGImageWriter + +org.apache.batik.ext.awt.image.codec.imageio.ImageIOPNGImageWriter +org.apache.batik.ext.awt.image.codec.imageio.ImageIOTIFFImageWriter +org.apache.batik.ext.awt.image.codec.imageio.ImageIOJPEGImageWriter diff --git a/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.ext.awt.image.spi.RegistryEntry b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.ext.awt.image.spi.RegistryEntry new file mode 100644 index 000000000..34472550f --- /dev/null +++ b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.ext.awt.image.spi.RegistryEntry @@ -0,0 +1,29 @@ +# ----------------------------------------------------------------------------- +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. +# +# This file registers PNG and JPEG codecs. +# +# $Id$ +# ----------------------------------------------------------------------------- + +# NOTE: the "codec" package is deprecated, there entries are kept here for compatibility with older JVM versions +# (uses "sun.image", which is only supported in Sun Java implementations and was retired in JDK 7) +#org.apache.batik.ext.awt.image.codec.png.PNGRegistryEntry + +org.apache.batik.ext.awt.image.codec.imageio.ImageIOJPEGRegistryEntry +org.apache.batik.ext.awt.image.codec.imageio.ImageIOPNGRegistryEntry +org.apache.batik.ext.awt.image.codec.imageio.ImageIOTIFFRegistryEntry diff --git a/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.script.InterpreterFactory b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.script.InterpreterFactory new file mode 100644 index 000000000..4912fea64 --- /dev/null +++ b/fine-xmlgraphics/xmlgraphics-batik/src/main/resources/META-INF/services/org.apache.batik.script.InterpreterFactory @@ -0,0 +1,30 @@ +# ----------------------------------------------------------------------------- +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. +# +# This file registers the interpreter factories for the +# script languages that Batik understands. +# +# $Id$ +# ----------------------------------------------------------------------------- + + +# ECMAScript +org.apache.batik.bridge.RhinoInterpreterFactory +# TCL +#org.apache.batik.script.jacl.JaclInterpreterFactory +# Python +#org.apache.batik.script.jpython.JPythonInterpreterFactory