Class CharacterSetFactory

java.lang.Object
net.sf.saxon.charcode.CharacterSetFactory

public class CharacterSetFactory extends Object
This class creates a CharacterSet object for a given named encoding.
  • Method Details

    • getCharacterSet

      public static CharacterSet getCharacterSet(Properties details, PipelineConfiguration pipe) throws XPathException
      Make a CharacterSet appropriate to the encoding
      Parameters:
      details - the serialization properties
      pipe - the PipelineConfiguration (used to get the current ClassLoader)
      Returns:
      the constructed CharacterSet
      Throws:
      XPathException
    • main

      public static void main(String[] args) throws Exception
      Main program is a utility to give a list of the character sets supported by the Java VM
      Parameters:
      args - command line arguments
      Throws:
      Exception