public class CharacterSetFactory extends Object
Constructor and Description |
---|
CharacterSetFactory()
Class has a single instance per Configuration
|
Modifier and Type | Method and Description |
---|---|
CharacterSet |
getCharacterSet(Properties details)
Make a CharacterSet appropriate to the encoding
|
CharacterSet |
getCharacterSet(String encoding)
Make a CharacterSet appropriate to the encoding
|
static void |
main(String[] args)
Main program is a utility to give a list of the character sets supported
by the Java VM
|
void |
setCharacterSetImplementation(String encoding,
CharacterSet charSet)
Register an implementation of a character set, using the class name
|
public CharacterSetFactory()
public void setCharacterSetImplementation(String encoding, CharacterSet charSet)
encoding
- the name of the character setcharSet
- the name of a class that implements CharacterSet
public CharacterSet getCharacterSet(Properties details) throws XPathException
details
- the serialization propertiesXPathException
public CharacterSet getCharacterSet(String encoding) throws XPathException
encoding
- the required encodingXPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.