Package com.saxonica.xqj.pull
Class PullToStax.SourceStreamLocation
- java.lang.Object
-
- com.saxonica.xqj.pull.PullToStax.SourceStreamLocation
-
- All Implemented Interfaces:
javax.xml.stream.Location
- Enclosing class:
- PullToStax
public static class PullToStax.SourceStreamLocation extends java.lang.Object implements javax.xml.stream.LocationBridge a SAX SourceLocator to a javax.xml.stream.Location
-
-
Constructor Summary
Constructors Constructor Description SourceStreamLocation(Location locator)Create a StAX SourceStreamLocation object based on a given SAX SourceLocator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCharacterOffset()intgetColumnNumber()intgetLineNumber()java.lang.StringgetPublicId()java.lang.StringgetSystemId()
-
-
-
Constructor Detail
-
SourceStreamLocation
public SourceStreamLocation(Location locator)
Create a StAX SourceStreamLocation object based on a given SAX SourceLocator- Parameters:
locator- the SAX SourceLocator
-
-
Method Detail
-
getCharacterOffset
public int getCharacterOffset()
- Specified by:
getCharacterOffsetin interfacejavax.xml.stream.Location
-
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumberin interfacejavax.xml.stream.Location
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumberin interfacejavax.xml.stream.Location
-
getPublicId
public java.lang.String getPublicId()
- Specified by:
getPublicIdin interfacejavax.xml.stream.Location
-
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemIdin interfacejavax.xml.stream.Location
-
-