javax.xml.transform.Result, CopyInformee, LocationProvider, Receiverpublic class LocationCopier extends ProxyReceiver implements CopyInformee, LocationProvider
nextReceiverPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPINGpipelineConfiguration, previousAtomic, systemId| Constructor | Description |
|---|---|
LocationCopier() |
|
LocationCopier(Receiver nextReceiver) |
| Modifier and Type | Method | 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, attribute, characters, close, comment, endDocument, endElement, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElementattribute, characters, close, comment, endDocument, endElement, getPipelineConfiguration, namespace, open, processingInstruction, setSystemId, setUnparsedEntity, startContent, startDocument, startElementgetPipelineConfiguration, getSystemIdpublic 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)