net.sf.saxon.pull

Class PullToStax.SourceStreamLocation

Enclosing Class:
PullToStax
Implemented Interfaces:
Location

public class PullToStax.SourceStreamLocation
extends java.lang.Object
implements Location

Bridge a SAX SourceLocator to a javax.xml.stream.Location

Constructor Summary

SourceStreamLocation(SourceLocator locator)
Create a StAX SourceStreamLocation object based on a given SAX SourceLocator

Method Summary

int
getCharacterOffset()
int
getColumnNumber()
int
getLineNumber()
String
getPublicId()
String
getSystemId()

Constructor Details

SourceStreamLocation

public SourceStreamLocation(SourceLocator locator)
Create a StAX SourceStreamLocation object based on a given SAX SourceLocator
Parameters:
locator - the SAX SourceLocator

Method Details

getCharacterOffset

public int getCharacterOffset()

getColumnNumber

public int getColumnNumber()

getLineNumber

public int getLineNumber()

getPublicId

public String getPublicId()

getSystemId

public String getSystemId()