org.apache.xerces.util

Class SAXLocatorWrapper

Implemented Interfaces:
org.apache.xerces.xni.XMLLocator

public final class SAXLocatorWrapper
extends java.lang.Object
implements org.apache.xerces.xni.XMLLocator

A light wrapper around a SAX locator. This is useful when bridging between SAX and XNI components.
Version:
$Id: SAXLocatorWrapper.java 320411 2005-05-30 03:20:40Z mrglavas $
Author:
Michael Glavassevich, IBM

Constructor Summary

SAXLocatorWrapper()

Method Summary

String
getBaseSystemId()
int
getCharacterOffset()
int
getColumnNumber()
String
getEncoding()
String
getExpandedSystemId()
int
getLineNumber()
String
getLiteralSystemId()
org.xml.sax.Locator
getLocator()
String
getPublicId()
String
getXMLVersion()
void
setLocator(org.xml.sax.Locator locator)

Constructor Details

SAXLocatorWrapper

public SAXLocatorWrapper()

Method Details

getBaseSystemId

public String getBaseSystemId()
Specified by:
getBaseSystemId in interface org.apache.xerces.xni.XMLLocator

getCharacterOffset

public int getCharacterOffset()
Specified by:
getCharacterOffset in interface org.apache.xerces.xni.XMLLocator

getColumnNumber

public int getColumnNumber()
Specified by:
getColumnNumber in interface org.apache.xerces.xni.XMLLocator

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface org.apache.xerces.xni.XMLLocator

getExpandedSystemId

public String getExpandedSystemId()
Specified by:
getExpandedSystemId in interface org.apache.xerces.xni.XMLLocator

getLineNumber

public int getLineNumber()
Specified by:
getLineNumber in interface org.apache.xerces.xni.XMLLocator

getLiteralSystemId

public String getLiteralSystemId()
Specified by:
getLiteralSystemId in interface org.apache.xerces.xni.XMLLocator

getLocator

public org.xml.sax.Locator getLocator()

getPublicId

public String getPublicId()
Specified by:
getPublicId in interface org.apache.xerces.xni.XMLLocator

getXMLVersion

public String getXMLVersion()
Specified by:
getXMLVersion in interface org.apache.xerces.xni.XMLLocator

setLocator

public void setLocator(org.xml.sax.Locator locator)

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.