- java.lang.Object
-
- org.jvnet.staxex.util.DummyLocation
-
- All Implemented Interfaces:
javax.xml.stream.Location
public final class DummyLocation extends java.lang.Object implements javax.xml.stream.Location
Location
that returns no info.
-
-
Field Summary
Fields Modifier and Type Field Description static javax.xml.stream.Location
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
DummyLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCharacterOffset()
int
getColumnNumber()
int
getLineNumber()
java.lang.String
getPublicId()
java.lang.String
getSystemId()
-
-
-
Method Detail
-
getCharacterOffset
public int getCharacterOffset()
- Specified by:
getCharacterOffset
in interfacejavax.xml.stream.Location
-
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumber
in interfacejavax.xml.stream.Location
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfacejavax.xml.stream.Location
-
getPublicId
public java.lang.String getPublicId()
- Specified by:
getPublicId
in interfacejavax.xml.stream.Location
-
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemId
in interfacejavax.xml.stream.Location
-
-