public class LocationCopier extends ProxyReceiver implements CopyInformee, LocationProvider
nextReceiverpipelineConfiguration, 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, startElementgetPipelineConfiguration, getSystemIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattribute, characters, close, comment, endDocument, endElement, getPipelineConfiguration, namespace, open, processingInstruction, setSystemId, setUnparsedEntity, startContent, startDocument, startElementpublic LocationCopier()
public LocationCopier(Receiver nextReceiver)
public void setPipelineConfiguration(PipelineConfiguration pipe)
ReceiversetPipelineConfiguration in interface ReceiversetPipelineConfiguration in class ProxyReceiverpipe - the pipeline configurationpublic void notifyElementNode(NodeInfo element)
notifyElementNode in interface CopyInformeeelement - the node being copied, which must be an element nodepublic int getLineNumber()
public java.lang.String getSystemId(long locationId)
LocationProvidergetSystemId in interface LocationProviderlocationId - identifier of the location in question (as passed down the Receiver pipeline)public int getLineNumber(long locationId)
LocationProvidergetLineNumber in interface LocationProviderlocationId - identifier of the location in question (as passed down the Receiver pipeline)public int getColumnNumber(long locationId)
LocationProvidergetColumnNumber in interface LocationProviderlocationId - identifier of the location in question (as passed down the Receiver pipeline)