Package org.apache.axiom.util.stax
Class DummyLocation
java.lang.Object
org.apache.axiom.util.stax.DummyLocation
- All Implemented Interfaces:
Location
Dummy
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.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DummyLocation
protected DummyLocation()
-
-
Method Details
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumber
in interfaceLocation
-
getColumnNumber
public int getColumnNumber()- Specified by:
getColumnNumber
in interfaceLocation
-
getCharacterOffset
public int getCharacterOffset()- Specified by:
getCharacterOffset
in interfaceLocation
-
getPublicId
- Specified by:
getPublicId
in interfaceLocation
-
getSystemId
- Specified by:
getSystemId
in interfaceLocation
-