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 TypeMethodDescriptionintintint
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DummyLocation
protected DummyLocation()
-
-
Method Details
-
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
- Specified by:
getPublicIdin interfaceLocation
-
getSystemId
- Specified by:
getSystemIdin interfaceLocation
-