public class HTMLEntityReferenceGenerator extends Object implements CharacterReferenceGenerator
Modifier and Type | Field and Description |
---|---|
static HTMLEntityReferenceGenerator |
DECIMAL |
static HTMLEntityReferenceGenerator |
HEX |
public static final HTMLEntityReferenceGenerator HEX
public static final HTMLEntityReferenceGenerator DECIMAL
public void outputCharacterReference(int c, Writer writer) throws IOException
CharacterReferenceGenerator
outputCharacterReference
in interface CharacterReferenceGenerator
c
- the unicode code point of the character concernedwriter
- the Writer to which the character reference is to be writtenIOException
- if the Writer reports an errorCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.