public class WstxInputLocation extends java.lang.Object implements XMLStreamLocation2
Location, used by Wstx readers.| Constructor and Description |
|---|
WstxInputLocation(WstxInputLocation ctxt,
java.lang.String pubId,
java.lang.String sysId,
int charOffset,
int row,
int col) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getCharacterOffset() |
int |
getColumnNumber() |
XMLStreamLocation2 |
getContext()
Method that can be used to traverse nested locations, like ones
created when expanding entities (especially external entities).
|
static WstxInputLocation |
getEmptyLocation() |
int |
getLineNumber() |
java.lang.String |
getPublicId() |
java.lang.String |
getSystemId() |
int |
hashCode() |
java.lang.String |
toString() |
public WstxInputLocation(WstxInputLocation ctxt, java.lang.String pubId, java.lang.String sysId, int charOffset, int row, int col)
ctxt - Enclosing input location, if anypublic static WstxInputLocation getEmptyLocation()
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.Locationpublic XMLStreamLocation2 getContext()
XMLStreamLocation2getContext in interface XMLStreamLocation2public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object