org.apache.xerces.stax
Class ImmutableLocation
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImmutableLocation
public ImmutableLocation(Location location)
ImmutableLocation
public ImmutableLocation(int characterOffset,
int columnNumber,
int lineNumber,
String publicId,
String systemId)
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.