Package com.saxonica.xqj.pull
Class PullToStax.SourceStreamLocation
java.lang.Object
com.saxonica.xqj.pull.PullToStax.SourceStreamLocation
- All Implemented Interfaces:
Location
- Enclosing class:
PullToStax
Bridge a SAX SourceLocator to a javax.xml.stream.Location
-
Constructor Summary
ConstructorsConstructorDescriptionSourceStreamLocation
(Location locator) Create a StAX SourceStreamLocation object based on a given SAX SourceLocator -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
-
Constructor Details
-
SourceStreamLocation
Create a StAX SourceStreamLocation object based on a given SAX SourceLocator- Parameters:
locator
- the SAX SourceLocator
-
-
Method Details
-
getCharacterOffset
public int getCharacterOffset()- Specified by:
getCharacterOffset
in interfaceLocation
-
getColumnNumber
public int getColumnNumber()- Specified by:
getColumnNumber
in interfaceLocation
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumber
in interfaceLocation
-
getPublicId
- Specified by:
getPublicId
in interfaceLocation
-
getSystemId
- Specified by:
getSystemId
in interfaceLocation
-