public class NamespaceSorter extends ProxyReceiver implements Sortable
nextReceiverpipelineConfiguration, previousAtomic, systemId| Constructor and Description |
|---|
NamespaceSorter(Receiver next)
Create a namespace sorter
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(int a,
int b)
Compare two objects within this Sortable, identified by their position.
|
void |
namespace(NamespaceBindingSet namespaceBindings,
int properties)
Notify a namespace.
|
void |
startContent()
Notify the start of the content, that is, the completion of all attributes and namespaces.
|
void |
startElement(NodeName elemName,
SchemaType typeCode,
Location location,
int properties)
Notify the start of an element
|
void |
swap(int a,
int b)
Swap two objects within this Sortable, identified by their position.
|
append, attribute, characters, close, comment, endDocument, endElement, getNamePool, getNextReceiver, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startDocument, usesTypeAnnotationsappend, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getPipelineConfiguration, getSystemId, handlesAppendpublic NamespaceSorter(Receiver next)
next - the next receiver in the pipelinepublic void startElement(NodeName elemName, SchemaType typeCode, Location location, int properties) throws XPathException
startElement in interface ReceiverstartElement in class ProxyReceiverelemName - 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 - the element's line & column numberproperties - properties of the element nodeXPathException - if an error occurspublic void namespace(NamespaceBindingSet namespaceBindings, int properties) throws XPathException
ProxyReceivernamespace in interface Receivernamespace in class ProxyReceivernamespaceBindings - the prefix/uri pair representing the namespace bindingproperties - any special properties to be passed on this callXPathException - if an error occurspublic void startContent()
throws XPathException
startContent in interface ReceiverstartContent in class ProxyReceiverXPathException - if an error occurspublic int compare(int a,
int b)
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.