com.saxonica.serialize
Class DecimalCharacterReferenceGenerator
java.lang.Object
com.saxonica.serialize.DecimalCharacterReferenceGenerator
- All Implemented Interfaces:
- CharacterReferenceGenerator
public class DecimalCharacterReferenceGenerator
- extends Object
- implements CharacterReferenceGenerator
A class that represents a character as a decimal character reference and writes
the result to a supplied Writer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THE_INSTANCE
public static final DecimalCharacterReferenceGenerator THE_INSTANCE
outputCharacterReference
public void outputCharacterReference(int charval,
Writer writer)
throws IOException
- Description copied from interface:
CharacterReferenceGenerator
- Generate a character reference
- Specified by:
outputCharacterReference
in interface CharacterReferenceGenerator
- Parameters:
charval
- the unicode code point of the character concernedwriter
- the Writer to which the character reference is to be written
- Throws:
IOException
- if the Writer reports an error
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.