org.apache.xerces.stax
Class ImmutableLocation

java.lang.Object
  extended by org.apache.xerces.stax.ImmutableLocation
All Implemented Interfaces:
Location

public class ImmutableLocation
extends Object
implements Location

An immutable StAX Location.

Version:
$Id: ImmutableLocation.java 730445 2008-12-31 19:12:02Z mrglavas $
Author:
Michael Glavassevich, IBM

Constructor Summary
ImmutableLocation(int characterOffset, int columnNumber, int lineNumber, String publicId, String systemId)
           
ImmutableLocation(Location location)
           
 
Method Summary
 int getCharacterOffset()
           
 int getColumnNumber()
           
 int getLineNumber()
           
 String getPublicId()
           
 String getSystemId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableLocation

public ImmutableLocation(Location location)

ImmutableLocation

public ImmutableLocation(int characterOffset,
                         int columnNumber,
                         int lineNumber,
                         String publicId,
                         String systemId)
Method Detail

getCharacterOffset

public int getCharacterOffset()
Specified by:
getCharacterOffset in interface Location

getColumnNumber

public int getColumnNumber()
Specified by:
getColumnNumber in interface Location

getLineNumber

public int getLineNumber()
Specified by:
getLineNumber in interface Location

getPublicId

public String getPublicId()
Specified by:
getPublicId in interface Location

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface Location


Copyright © 2011. All Rights Reserved.