javax.xml.stream.Locationpublic 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.Locationpublic int getColumnNumber()
getColumnNumber in interface javax.xml.stream.Locationpublic int getLineNumber()
getLineNumber in interface javax.xml.stream.Locationpublic java.lang.String getPublicId()
getPublicId in interface javax.xml.stream.Locationpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.stream.Location