public class DummyLocation extends Object implements javax.xml.stream.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 javax.xml.stream.Locationpublic int getColumnNumber()
getColumnNumber in interface javax.xml.stream.Locationpublic int getCharacterOffset()
getCharacterOffset in interface javax.xml.stream.Locationpublic String getPublicId()
getPublicId in interface javax.xml.stream.Locationpublic String getSystemId()
getSystemId in interface javax.xml.stream.LocationCopyright © The Apache Software Foundation. All Rights Reserved.