com.sun.xml.stream.events
Class LocationImpl

java.lang.Object
  extended by com.sun.xml.stream.events.LocationImpl
All Implemented Interfaces:
javax.xml.stream.Location

public class LocationImpl
extends java.lang.Object
implements javax.xml.stream.Location

Implementation of Location interface to be used by event readers.

Author:
Neeraj.bajaj@sun.com,k.venugopal@sun.com

Method Summary
 int getCharacterOffset()
           
 int getColumnNumber()
           
 int getLineNumber()
           
 java.lang.String getPublicId()
           
 java.lang.String getSystemId()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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 java.lang.String getPublicId()
Specified by:
getPublicId in interface javax.xml.stream.Location

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface javax.xml.stream.Location

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ? 2002-2003 Apache XML Project. All Rights Reserved.