Class XMLEscapeFactory

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

public final class XMLEscapeFactory extends Object
Factory for XML escape classes.
Version:
7 March 2005
  • Constructor Details

    • XMLEscapeFactory

      private XMLEscapeFactory()
      Prevents creation of instances.
  • Method Details

    • 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.