public class NamePoolConverter extends ProxyReceiver
The type annotations of nodes passed through this filter must be built-in types in the XSD namespace, because user-defined types belong to a specific Configuration and cannot readily be transferred. In practice the class is used only for untyped trees.
nextReceiver
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
NamePoolConverter(Receiver next,
NamePool oldPool,
NamePool newPool)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
attribute(NodeName name,
SimpleType type,
java.lang.CharSequence value,
Location location,
int properties)
Handle an attribute
|
void |
startElement(NodeName name,
SchemaType type,
Location location,
int properties)
Output element start tag
|
append, characters, close, comment, endDocument, endElement, getNamePool, getNextReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, usesTypeAnnotations
append, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getPipelineConfiguration, getSystemId, handlesAppend
public void startElement(NodeName name, SchemaType type, Location location, int properties) throws XPathException
startElement
in interface Receiver
startElement
in class ProxyReceiver
name
- integer code identifying the name of the element within the name pool.type
- the element's type annotation.location
- a location associated with the event (typically either a location in the
source document or the stylesheet)properties
- properties of the element nodeXPathException
- if an error occurspublic void attribute(NodeName name, SimpleType type, java.lang.CharSequence value, Location location, int properties) throws XPathException
attribute
in interface Receiver
attribute
in class ProxyReceiver
name
- The name of the attributetype
- The type of the attributevalue
- the string value of the attributelocation
- The location of the nodeproperties
- Bit significant value. The following bits are defined:
XPathException
- if an error occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.