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.Location
public int getColumnNumber()
getColumnNumber
in interface javax.xml.stream.Location
public int getCharacterOffset()
getCharacterOffset
in interface javax.xml.stream.Location
public String getPublicId()
getPublicId
in interface javax.xml.stream.Location
public String getSystemId()
getSystemId
in interface javax.xml.stream.Location
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.