public class HTMLEntityReferenceGenerator extends java.lang.Object implements CharacterReferenceGenerator
Modifier and Type | Field and Description |
---|---|
static HTMLEntityReferenceGenerator |
DECIMAL |
static HTMLEntityReferenceGenerator |
HEX |
Modifier and Type | Method and Description |
---|---|
void |
outputCharacterReference(int c,
java.io.Writer writer)
Generate a character reference
|
public static final HTMLEntityReferenceGenerator HEX
public static final HTMLEntityReferenceGenerator DECIMAL
public void outputCharacterReference(int c, java.io.Writer writer) throws java.io.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 writtenjava.io.IOException
- if the Writer reports an errorCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.