org.apache.batik.svggen
Class SVGIDGenerator

java.lang.Object
  extended byorg.apache.batik.svggen.SVGIDGenerator

public class SVGIDGenerator
extends java.lang.Object

Generates id for an arbitrary number of prefix

Version:
$Id: SVGIDGenerator.java,v 1.6 2003/08/08 11:39:20 vhardy Exp $
Author:
Christophe Jolif, Vincent Hardy

Constructor Summary
SVGIDGenerator()
           
 
Method Summary
 java.lang.String generateID(java.lang.String prefix)
          Generates an id for the given prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGIDGenerator

public SVGIDGenerator()
Method Detail

generateID

public java.lang.String generateID(java.lang.String prefix)
Generates an id for the given prefix. This class keeps track of all invocations to that it generates unique ids

Parameters:
prefix - defines the prefix for which the id should be generated.
Returns:
a value of the form


<oXygen/> XML Editor uses Batik from the Apache Foundation to provide support for previewing SVG documents. See the SVG Editor section for more info.