public class LocationCopier extends ProxyReceiver implements CopyInformee, LocationProvider
nextReceiver
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
LocationCopier() |
LocationCopier(Receiver nextReceiver) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber(long locationId)
Get the column number within the document or module containing a particular location
|
int |
getLineNumber()
Get the line number
|
int |
getLineNumber(long locationId)
Get the line number within the document or module containing a particular location
|
java.lang.String |
getSystemId(long locationId)
Get the URI of the document or module containing a particular location
|
void |
notifyElementNode(NodeInfo element)
Provide information about the node being copied.
|
void |
setPipelineConfiguration(PipelineConfiguration pipe)
Set the pipeline configuration
|
append, attribute, characters, close, comment, endDocument, endElement, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement
getPipelineConfiguration, getSystemId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attribute, characters, close, comment, endDocument, endElement, getPipelineConfiguration, namespace, open, processingInstruction, setSystemId, setUnparsedEntity, startContent, startDocument, startElement
public LocationCopier()
public LocationCopier(Receiver nextReceiver)
public void setPipelineConfiguration(PipelineConfiguration pipe)
Receiver
setPipelineConfiguration
in interface Receiver
setPipelineConfiguration
in class ProxyReceiver
pipe
- the pipeline configurationpublic void notifyElementNode(NodeInfo element)
notifyElementNode
in interface CopyInformee
element
- the node being copied, which must be an element nodepublic int getLineNumber()
public java.lang.String getSystemId(long locationId)
LocationProvider
getSystemId
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)public int getLineNumber(long locationId)
LocationProvider
getLineNumber
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)public int getColumnNumber(long locationId)
LocationProvider
getColumnNumber
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)