public class DummyLocation extends Object implements Location
Location implementation. It always returns -1 for the location
and null for the publicId and systemId. It may be used by
XMLStreamReader implementations that don't support
the concept of location.| Modifier and Type | Field and Description |
|---|---|
static DummyLocation |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
DummyLocation() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCharacterOffset() |
int |
getColumnNumber() |
int |
getLineNumber() |
String |
getPublicId() |
String |
getSystemId() |
public static final DummyLocation INSTANCE
public int getLineNumber()
getLineNumber in interface Locationpublic int getColumnNumber()
getColumnNumber in interface Locationpublic int getCharacterOffset()
getCharacterOffset in interface Locationpublic String getPublicId()
getPublicId in interface Locationpublic String getSystemId()
getSystemId in interface LocationCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.