public class AttributeSorter extends ProxyReceiver implements Sortable
nextReceiverpipelineConfiguration, previousAtomic, systemIdPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
AttributeSorter(Receiver next)
Create a CDATA Filter
|
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(NodeName nameCode,
SimpleType typeCode,
CharSequence value,
Location locationId,
int properties)
Notify an attribute.
|
int |
compare(int a,
int b)
Compare two objects within this Sortable, identified by their position.
|
void |
setOutputProperties(Properties details)
Set the properties for this CDATA filter
|
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, characters, close, comment, endDocument, endElement, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startDocument, usesTypeAnnotationsappend, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiverpublic AttributeSorter(Receiver next)
next - the next receiver in the pipelinepublic void setOutputProperties(Properties details) throws XPathException
details - the output propertiesXPathException - if an error occurspublic 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 - properties - properties of the element nodeXPathException - if an error occurspublic void attribute(NodeName nameCode, SimpleType typeCode, CharSequence value, Location 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 poollocationId - properties - Bit significant value. The following bits are defined:
value - the string value of the attributeXPathException - 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-2014 Saxonica Limited. All rights reserved.