net.sf.saxon.event

Class CharacterMapExpander

public class CharacterMapExpander extends ProxyReceiver

CharacterMapExpander: This ProxyReceiver expands characters occurring in a character map, as specified by the XSLT 2.0 xsl:character-map declaration

Author: Michael Kay

Method Summary
voidattribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties)
Output an attribute
voidcharacters(CharSequence chars, int locationId, int properties)
Output character data
voidsetCharacterMaps(List maps)
Set the character maps to be used by this CharacterMapExpander.
voidsetUseNullMarkers(boolean use)
Indicate whether the result of character mapping should be marked using NUL characters to prevent subsequent XML or HTML character escaping

Method Detail

attribute

public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties)
Output an attribute

characters

public void characters(CharSequence chars, int locationId, int properties)
Output character data

setCharacterMaps

public void setCharacterMaps(List maps)
Set the character maps to be used by this CharacterMapExpander. They are merged into a single character map if there is more than one.

setUseNullMarkers

public void setUseNullMarkers(boolean use)
Indicate whether the result of character mapping should be marked using NUL characters to prevent subsequent XML or HTML character escaping