com.topologi.diffx.xml.esc
Class XMLEscapeFactory

java.lang.Object
  extended by com.topologi.diffx.xml.esc.XMLEscapeFactory

public final class XMLEscapeFactory
extends Object

Factory for XML escape classes.

Version:
7 March 2005
Author:
Christophe Lauret

Method Summary
static XMLEscape getInstance(String encoding)
          Returns an instance of a XML Escape based on the given encoding.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static XMLEscape getInstance(String encoding)
Returns an instance of a XML Escape based on the given encoding.

This method returns null if the encoding is not supported.

Parameters:
encoding - The encoding for which an escape implementation is requested.
Returns:
A XMLEscape instance corresponding to the specified encoding or null.