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 Locationpublic int getColumnNumber()
getColumnNumber in interface Locationpublic int getLineNumber()
getLineNumber in interface Locationpublic String getPublicId()
getPublicId in interface Locationpublic String getSystemId()
getSystemId in interface Locationpublic XMLStreamLocation2 getContext()
XMLStreamLocation2getContext in interface XMLStreamLocation2Copyright © 2015 fasterxml.com. All Rights Reserved.