public class CharacterMapIndex extends Object implements Iterable<CharacterMap>
Constructor and Description |
---|
CharacterMapIndex() |
Modifier and Type | Method and Description |
---|---|
CharacterMap |
getCharacterMap(StructuredQName name) |
Iterator<CharacterMap> |
iterator() |
CharacterMapExpander |
makeCharacterMapExpander(String useMaps,
Receiver next,
SerializerFactory sf)
Make a CharacterMapExpander to handle the character map definitions in the serialization
properties.
|
void |
putCharacterMap(StructuredQName name,
CharacterMap charMap) |
public CharacterMap getCharacterMap(StructuredQName name)
public void putCharacterMap(StructuredQName name, CharacterMap charMap)
public Iterator<CharacterMap> iterator()
iterator
in interface Iterable<CharacterMap>
public CharacterMapExpander makeCharacterMapExpander(String useMaps, Receiver next, SerializerFactory sf) throws XPathException
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 pipelinesf
- 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.XPathException
- if a name in the useMaps property cannot be resolved to a declared
character map.Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.