public class CharacterMapExpander extends ProxyReceiver
nextReceiverpipelineConfiguration, previousAtomic, systemIdPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
CharacterMapExpander() |
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(int nameCode,
int 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, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement, usesTypeAnnotationsappend, getPipelineConfiguration, getSystemIdpublic void setCharacterMap(CharacterMap map)
public void setUseNullMarkers(boolean use)
public void attribute(int nameCode,
int typeCode,
CharSequence value,
int 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 - 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:
XPathExceptionpublic void characters(CharSequence chars, int locationId, int properties) throws XPathException
characters in interface Receivercharacters in class ProxyReceiverchars - 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