Class CharacterMapIndex

  • All Implemented Interfaces:
    java.io.Serializable

    public class CharacterMapIndex
    extends java.lang.Object
    implements java.io.Serializable
    This class represents a set of named character maps. Each character map in the set is identified by a unique QName.
    See Also:
    Serialized Form
    • Constructor Detail

      • CharacterMapIndex

        public CharacterMapIndex()
    • Method Detail

      • makeCharacterMapExpander

        public CharacterMapExpander makeCharacterMapExpander​(java.lang.String useMaps,
                                                             Receiver next,
                                                             SerializerFactory sf)
                                                      throws XPathException
        Make a CharacterMapExpander to handle the character map definitions in the serialization properties.

        This method is intended for internal use only.

        Parameters:
        useMaps - the expanded use-character-maps property: a space-separated list of names of character maps to be used, each one expressed as an expanded-QName in Clark notation (that is, {uri}local-name).
        next - the next receiver in the pipeline
        sf - the SerializerFactory - used to create a CharacterMapExpander. This callback is provided so that a user-defined SerializerFactory can customize the result of this function, for example by returning a subclass of the standard CharacterMapExpander.
        Returns:
        a CharacterMapExpander if one is required, or null if not (for example, if the useMaps argument is an empty string).
        Throws:
        XPathException - if a name in the useMaps property cannot be resolved to a declared character map.