javax.xml.stream.Location
public class PullToStax.SourceStreamLocation
extends java.lang.Object
implements javax.xml.stream.Location
Constructor | Description |
---|---|
SourceStreamLocation(javax.xml.transform.SourceLocator locator) |
Create a StAX SourceStreamLocation object based on a given SAX SourceLocator
|
Modifier and Type | Method | Description |
---|---|---|
int |
getCharacterOffset() |
|
int |
getColumnNumber() |
|
int |
getLineNumber() |
|
java.lang.String |
getPublicId() |
|
java.lang.String |
getSystemId() |
public SourceStreamLocation(javax.xml.transform.SourceLocator locator)
locator
- the SAX SourceLocatorpublic int getCharacterOffset()
getCharacterOffset
in interface javax.xml.stream.Location
public int getColumnNumber()
getColumnNumber
in interface javax.xml.stream.Location
public int getLineNumber()
getLineNumber
in interface javax.xml.stream.Location
public java.lang.String getPublicId()
getPublicId
in interface javax.xml.stream.Location
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.stream.Location