javax.xml.transform.Result
, LocationProvider
, Receiver
public class LocationCopier extends ProxyReceiver implements LocationProvider
Modifier and Type | Field | Description |
---|---|---|
int |
lineNumber |
nextReceiver
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
pipelineConfiguration, previousAtomic, systemId
Constructor | Description |
---|---|
LocationCopier() |
Modifier and Type | Method | Description |
---|---|---|
int |
getColumnNumber() |
|
int |
getLineNumber() |
|
int |
getLineNumber(int locationId) |
Get the line number within the document or module containing a particular location
|
java.lang.String |
getPublicId() |
|
java.lang.String |
getSystemId(int locationId) |
Get the URI of the document or module containing a particular location
|
void |
setLineNumber(int lineNumber) |
|
void |
setPipelineConfiguration(PipelineConfiguration pipe) |
Set the pipeline configuration
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attribute, characters, close, comment, endDocument, endElement, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement
append, getPipelineConfiguration, getSystemId
public void setPipelineConfiguration(PipelineConfiguration pipe)
Receiver
setPipelineConfiguration
in interface Receiver
setPipelineConfiguration
in class ProxyReceiver
public void setLineNumber(int lineNumber)
public int getColumnNumber()
public int getLineNumber()
public java.lang.String getPublicId()
public java.lang.String getSystemId(int locationId)
LocationProvider
getSystemId
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)public int getLineNumber(int locationId)
LocationProvider
getLineNumber
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)