public class NamePoolConverter extends ProxyReceiver
nextReceiver
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
NamePoolConverter(Receiver next,
NamePool oldPool,
NamePool newPool)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
attribute(NodeName nameCode,
SimpleType typeCode,
java.lang.CharSequence value,
Location locationId,
int properties)
Handle an attribute
|
void |
namespace(NamespaceBindingSet namespaceBindings,
int properties)
Handle a namespace
|
void |
setUnderlyingReceiver(Receiver receiver)
Set the underlying emitter.
|
void |
startElement(NodeName nameCode,
SchemaType typeCode,
Location location,
int properties)
Output element start tag
|
append, characters, close, comment, endDocument, endElement, getNamePool, getUnderlyingReceiver, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnparsedEntity, startContent, startDocument, usesTypeAnnotations
append, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver
public void setUnderlyingReceiver(Receiver receiver)
setUnderlyingReceiver
in class ProxyReceiver
receiver
- the underlying receiver, the one that is to receive events after processing
by this filter.public void startElement(NodeName nameCode, SchemaType typeCode, Location location, int properties) throws XPathException
startElement
in interface Receiver
startElement
in class ProxyReceiver
nameCode
- integer code identifying the name of the element within the name pool.typeCode
- integer code identifying the element's type within the name pool.location
- an object providing information about the module, line, and column where the node originatedproperties
- properties of the element nodeXPathException
- if an error occurspublic void namespace(NamespaceBindingSet namespaceBindings, int properties) throws XPathException
namespace
in interface Receiver
namespace
in class ProxyReceiver
namespaceBindings
- the prefix/uri pair representing the namespace bindingproperties
- any special properties to be passed on this callXPathException
- if an error occurspublic 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 occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.