Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.saxon.serialize
Class HexCharacterReferenceGenerator

    java.lang.Object
      net.sf.saxon.serialize.HexCharacterReferenceGenerator

All Implemented Interfaces:
  CharacterReferenceGenerator

    public class HexCharacterReferenceGenerator

extends Object
implements CharacterReferenceGenerator

A class that represents a character as a hexadecimal character reference and writes the result to a supplied Writer

Field Summary
`static HexCharacterReferenceGenerator` | `THE_INSTANCE`

Method Summary
`void` | `outputCharacterReference(int charval, Writer writer)` Generate a character reference

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### THE_INSTANCE

    public static final HexCharacterReferenceGenerator THE_INSTANCE

Method Detail

### 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 concerned
    `writer` - the Writer to which the character reference is to be written
  Throws:
    `IOException` - if the Writer reports an error

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.