javax.xml.transform.Result, Receiverpublic class PathMaintainer extends ProxyReceiver
nextReceiverPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPINGpipelineConfiguration, previousAtomic, systemId| Constructor | Description |
|---|---|
PathMaintainer(Receiver next) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
endElement() |
Handle an end-of-element event
|
java.lang.String |
getPath(boolean useURIs) |
Get the path to the current location in the stream
|
void |
startElement(NodeName elemName,
SchemaType type,
int locationId,
int properties) |
Notify the start of an element
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, attribute, characters, close, comment, endDocument, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, usesTypeAnnotationsappend, getConfiguration, getPipelineConfiguration, getSystemIdpublic PathMaintainer(Receiver next)
public void startElement(NodeName elemName, SchemaType type, int locationId, int properties) throws XPathException
ProxyReceiverstartElement in interface ReceiverstartElement in class ProxyReceiverelemName - integer code identifying the name of the element within the name pool.type - 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 endElement()
throws XPathException
endElement in interface ReceiverendElement in class ProxyReceiverXPathException - if an error occurspublic java.lang.String getPath(boolean useURIs)
useURIs - set to true if namespace URIs are to appear in the path;
false if prefixes are to be used instead. The prefix will be the one
that is used in the source document, and is potentially ambiguous.