public class Stax2LocationAdapter extends Object implements XMLStreamLocation2
XMLStreamLocation2
, which just
wraps Stax 1.0 Location
and adds no-operation implementation
of the additions.Modifier and Type | Field and Description |
---|---|
protected Location |
mParentLocation |
protected Location |
mWrappedLocation |
NOT_AVAILABLE
Constructor and Description |
---|
Stax2LocationAdapter(Location loc) |
Stax2LocationAdapter(Location loc,
Location parent) |
Modifier and Type | Method and Description |
---|---|
int |
getCharacterOffset() |
int |
getColumnNumber() |
XMLStreamLocation2 |
getContext()
Method that can be used to traverse nested locations, like ones
created when expanding entities (especially external entities).
|
int |
getLineNumber() |
String |
getPublicId() |
String |
getSystemId() |
protected final Location mWrappedLocation
protected final Location mParentLocation
public Stax2LocationAdapter(Location loc)
public int getCharacterOffset()
getCharacterOffset
in interface Location
public int getColumnNumber()
getColumnNumber
in interface Location
public int getLineNumber()
getLineNumber
in interface Location
public String getPublicId()
getPublicId
in interface Location
public String getSystemId()
getSystemId
in interface Location
public XMLStreamLocation2 getContext()
XMLStreamLocation2
getContext
in interface XMLStreamLocation2
Copyright © 2015 fasterxml.com. All Rights Reserved.