public class CharacterMapIndex extends java.lang.Object implements java.lang.Iterable<CharacterMap>
Constructor and Description |
---|
CharacterMapIndex() |
Modifier and Type | Method and Description |
---|---|
CharacterMapIndex |
copy() |
CharacterMap |
getCharacterMap(StructuredQName name) |
boolean |
isEmpty() |
java.util.Iterator<CharacterMap> |
iterator() |
CharacterMapExpander |
makeCharacterMapExpander(java.lang.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 java.util.Iterator<CharacterMap> iterator()
iterator
in interface java.lang.Iterable<CharacterMap>
public boolean isEmpty()
public CharacterMapIndex copy()
public CharacterMapExpander makeCharacterMapExpander(java.lang.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-2018 Saxonica Limited. All rights reserved.