public class StreamLocation
extends java.lang.Object
implements javax.xml.stream.Location
| Constructor and Description |
|---|
StreamLocation(javax.xml.stream.Location location) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCharacterOffset()
Return the byte or character offset into the input source this location
is pointing to.
|
int |
getColumnNumber()
Return the column number where the current event ends, returns -1 if none
is available.
|
int |
getLineNumber()
Return the line number where the current event ends, returns -1 if none
is available.
|
java.lang.String |
getPublicId() |
java.lang.String |
getSystemId() |
public 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.LocationCopyright © 2016. All Rights Reserved.