org.apache.batik.svggen

Class SVGIDGenerator

public class SVGIDGenerator extends Object

Generates id for an arbitrary number of prefix
Constructor Summary
SVGIDGenerator()
Method Summary
StringgenerateID(String prefix)
Generates an id for the given prefix.

Constructor Detail

SVGIDGenerator

public SVGIDGenerator()

Method Detail

generateID

public String generateID(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

Copyright B) 2007 Apache Software Foundation. All Rights Reserved.