Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.image.loader.batik
Class BatikUtil

    java.lang.Object
      org.apache.fop.image.loader.batik.BatikUtil

    public final class BatikUtil

extends java.lang.Object

Helper utilities for Apache Batik.

Method Summary
`static org.w3c.dom.Document` | `cloneSVGDocument(org.w3c.dom.Document doc)` Clones an SVG DOM document.
`static boolean` | `isBatikAvailable()` Checks whether Apache Batik is available in the classpath.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### isBatikAvailable

    public static boolean isBatikAvailable()

  Checks whether Apache Batik is available in the classpath.

  Returns:
    true if Apache Batik is available

### cloneSVGDocument

    public static org.w3c.dom.Document cloneSVGDocument(org.w3c.dom.Document doc)

  Clones an SVG DOM document. This is used for making SVG production thread-safe when the SVG document is cached and re-used.

  Parameters:
    `doc` - the SVG DOM to be cloned
  Returns:
    the cloned SVG DOM

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.