public class CharacterMapExpander extends ProxyReceiver
nextReceiverpipelineConfiguration, previousAtomic, systemIdPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
CharacterMapExpander(Receiver next) |
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(NodeName nameCode,
SimpleType typeCode,
CharSequence value,
Location locationId,
int properties)
Output an attribute
|
void |
characters(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, usesTypeAnnotationsappend, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiverpublic 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, CharSequence value, Location locationId, int properties) throws XPathException
attribute in interface Receiverattribute in class ProxyReceivernameCode - 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(CharSequence chars, Location locationId, int properties) throws XPathException
characters in interface Receivercharacters in class ProxyReceiverchars - 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-2014 Saxonica Limited. All rights reserved.