javax.xml.transform.Result
, Receiver
public class CharacterMapExpander extends ProxyReceiver
nextReceiver
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
pipelineConfiguration, previousAtomic, systemId
Constructor | Description |
---|---|
CharacterMapExpander() |
Modifier and Type | Method | Description |
---|---|---|
void |
attribute(int nameCode,
int typeCode,
java.lang.CharSequence value,
int locationId,
int properties) |
Output an attribute
|
void |
characters(java.lang.CharSequence chars,
int locationId,
int properties) |
Output character data
|
void |
setCharacterMaps(java.util.List maps) |
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, comment, endDocument, endElement, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement
append, getPipelineConfiguration, getSystemId
public void setCharacterMaps(java.util.List maps)
public void setUseNullMarkers(boolean use)
public void attribute(int nameCode, int typeCode, java.lang.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 poollocationId
- 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
public void characters(java.lang.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