public class CharacterMapIndex extends Object implements Iterable<CharacterMap>
| Constructor and Description |
|---|
CharacterMapIndex() |
| Modifier and Type | Method and Description |
|---|---|
CharacterMapIndex |
copy()
Copy this character map index
|
CharacterMap |
getCharacterMap(StructuredQName name)
Get the character map with a given name
|
boolean |
isEmpty()
Ask if the character map index is empty
|
Iterator<CharacterMap> |
iterator()
Get an iterator over all the character maps in the index
|
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)
Add a character map with a given name
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CharacterMap getCharacterMap(StructuredQName name)
name - the name of the required character mappublic void putCharacterMap(StructuredQName name, CharacterMap charMap)
name - the name of the character mapcharMap - the character map to be addedpublic Iterator<CharacterMap> iterator()
iterator in interface Iterable<CharacterMap>public boolean isEmpty()
public CharacterMapIndex copy()
public CharacterMapExpander makeCharacterMapExpander(String useMaps, Receiver next, SerializerFactory sf) throws XPathException
This method is intended for internal use only.
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.