public class CharacterMapExpander extends ProxyReceiver
nextReceiver
pipelineConfiguration, previousAtomic, systemId
PI_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,
int locationId,
int properties)
Output an attribute
|
void |
characters(CharSequence chars,
int locationId,
int properties)
Output character data
|
void |
setCharacterMap(CharacterMap map)
Set the character maps 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
public CharacterMapExpander(Receiver next)
public void setCharacterMap(CharacterMap map)
public void setUseNullMarkers(boolean use)
public void attribute(NodeName nameCode, SimpleType typeCode, CharSequence value, int 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
- an integer which can be interpreted using a LocationProvider
to return
information such as line number and system ID. If no location information is available,
the value zero is supplied.properties
- Bit significant value. The following bits are defined:
XPathException
- if an error occurspublic void characters(CharSequence chars, int locationId, int properties) throws XPathException
characters
in interface Receiver
characters
in class ProxyReceiver
chars
- The characterslocationId
- an integer which can be interpreted using a LocationProvider
to return information such as line number and system ID. If no location information is available,
the value zero is supplied.properties
- Bit significant value. The following bits are defined:
XPathException
- if an error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.