Class DecimalCharacterReferenceGenerator

  • All Implemented Interfaces:

    public class DecimalCharacterReferenceGenerator
    extends java.lang.Object
    implements CharacterReferenceGenerator
    A class that represents a character as a decimal character reference and writes the result to a supplied Writer.
    • Method Detail

      • outputCharacterReference

        public void outputCharacterReference​(int charval,
        Description copied from interface: CharacterReferenceGenerator
        Generate a character reference
        Specified by:
        outputCharacterReference in interface CharacterReferenceGenerator
        charval - the unicode code point of the character concerned
        writer - the Writer to which the character reference is to be written
        Throws: - if the Writer reports an error