net.sf.saxon.pull
Class PullToStax.SourceStreamLocation
java.lang.Object
net.sf.saxon.pull.PullToStax.SourceStreamLocation
- All Implemented Interfaces:
- javax.xml.stream.Location
- Enclosing class:
- PullToStax
public class PullToStax.SourceStreamLocation
- extends Object
- implements javax.xml.stream.Location
Bridge a SAX SourceLocator to a javax.xml.stream.Location
PullToStax.SourceStreamLocation
public PullToStax.SourceStreamLocation(SourceLocator locator)
- Create a StAX SourceStreamLocation object based on a given SAX SourceLocator
- Parameters:
locator
- the SAX SourceLocator
getCharacterOffset
public int getCharacterOffset()
- Specified by:
getCharacterOffset
in interface javax.xml.stream.Location
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumber
in interface javax.xml.stream.Location
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interface javax.xml.stream.Location
getPublicId
public String getPublicId()
- Specified by:
getPublicId
in interface javax.xml.stream.Location
getSystemId
public String getSystemId()
- Specified by:
getSystemId
in interface javax.xml.stream.Location
Copyright (C) Michael H. Kay. All rights reserved.