Package javanet.staxutils.helpers
Class UnknownLocation
- java.lang.Object
-
- javanet.staxutils.helpers.UnknownLocation
-
- All Implemented Interfaces:
StaticLocation,Location
public final class UnknownLocation extends Object implements Location, StaticLocation
Locationused to represent unknown locations.- Version:
- $Revision: 1.1 $
- Author:
- Christian Niles
-
-
Field Summary
Fields Modifier and Type Field Description static UnknownLocationINSTANCE
-
Constructor Summary
Constructors Constructor Description UnknownLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCharacterOffset()intgetColumnNumber()intgetLineNumber()StringgetPublicId()StringgetSystemId()
-
-
-
Field Detail
-
INSTANCE
public static final UnknownLocation INSTANCE
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumberin interfaceLocation
-
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumberin interfaceLocation
-
getCharacterOffset
public int getCharacterOffset()
- Specified by:
getCharacterOffsetin interfaceLocation
-
getPublicId
public String getPublicId()
- Specified by:
getPublicIdin interfaceLocation
-
getSystemId
public String getSystemId()
- Specified by:
getSystemIdin interfaceLocation
-
-