public class NamePoolConverter extends ProxyReceiver
nextReceiverpipelineConfiguration, previousAtomic, systemIdPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
NamePoolConverter(Receiver next,
NamePool oldPool,
NamePool newPool)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(NodeName nameCode,
SimpleType typeCode,
CharSequence value,
int locationId,
int properties)
Handle an attribute
|
void |
namespace(NamespaceBinding namespaceBinding,
int properties)
Handle a namespace
|
void |
setUnderlyingReceiver(Receiver receiver)
Set the underlying emitter.
|
void |
startElement(NodeName nameCode,
SchemaType typeCode,
int locationId,
int properties)
Output element start tag
|
append, characters, close, comment, endDocument, endElement, getNamePool, getUnderlyingReceiver, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnparsedEntity, startContent, startDocument, usesTypeAnnotationsappend, getConfiguration, getPipelineConfiguration, getSystemIdpublic void setUnderlyingReceiver(Receiver receiver)
setUnderlyingReceiver in class ProxyReceiverreceiver - the underlying receiver, the one that is to receive events after processing
by this filter.public void startElement(NodeName nameCode, SchemaType typeCode, int locationId, int properties) throws XPathException
startElement in interface ReceiverstartElement in class ProxyReceivernameCode - integer code identifying the name of the element within the name pool.typeCode - integer code identifying the element's type within the name pool.locationId - 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 - properties of the element nodeXPathException - if an error occurspublic void namespace(NamespaceBinding namespaceBinding, int properties) throws XPathException
namespace in interface Receivernamespace in class ProxyReceivernamespaceBinding - 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, 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:
XPathException - if an error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.