Package com.saxonica.serialize
Class HTMLEntityReferenceGenerator
java.lang.Object
com.saxonica.serialize.HTMLEntityReferenceGenerator
- All Implemented Interfaces:
CharacterReferenceGenerator
A class that represents a character as a decimal character reference and writes
the result to a supplied Writer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HTMLEntityReferenceGeneratorstatic final HTMLEntityReferenceGenerator -
Method Summary
Modifier and TypeMethodDescriptionvoidoutputCharacterReference(int c, UnicodeWriter writer) Generate a character reference
-
Field Details
-
HEX
-
DECIMAL
-
-
Method Details
-
outputCharacterReference
Description copied from interface:CharacterReferenceGeneratorGenerate a character reference- Specified by:
outputCharacterReferencein interfaceCharacterReferenceGenerator- Parameters:
c- 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
-