public class CharacterMapExpander extends ProxyReceiver
nextReceiver
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
CharacterMapExpander(Receiver next) |
Modifier and Type | Method and Description |
---|---|
void |
attribute(NodeName nameCode,
SimpleType typeCode,
java.lang.CharSequence value,
Location locationId,
int properties)
Output an attribute
|
void |
characters(java.lang.CharSequence chars,
Location locationId,
int properties)
Output character data
|
CharacterMap |
getCharacterMap()
Get the character map used by this CharacterMapExpander
|
void |
setCharacterMap(CharacterMap map)
Set the character map to be used by this CharacterMapExpander.
|
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.
|
append, close, comment, endDocument, endElement, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement, usesTypeAnnotations
append, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver
public CharacterMapExpander(Receiver next)
public void setCharacterMap(CharacterMap map)
map
- the character mappublic CharacterMap getCharacterMap()
public void setUseNullMarkers(boolean use)
public void attribute(NodeName nameCode, SimpleType typeCode, java.lang.CharSequence value, Location locationId, int properties) throws XPathException
attribute
in interface Receiver
attribute
in class ProxyReceiver
nameCode
- The name of the attribute, as held in the name pooltypeCode
- The type of the attribute, as held in the name poolvalue
- the string value of the attributelocationId
- provides information such as line number and system ID.properties
- Bit significant value. The following bits are defined:
XPathException
- if an error occurspublic void characters(java.lang.CharSequence chars, Location locationId, int properties) throws XPathException
characters
in interface Receiver
characters
in class ProxyReceiver
chars
- The characterslocationId
- provides information such as line number and system ID.properties
- Bit significant value. The following bits are defined:
XPathException
- if an error occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.