org.jvnet.staxex.util
Class DummyLocation

java.lang.Object
  extended by org.jvnet.staxex.util.DummyLocation
All Implemented Interfaces:
Location

public final class DummyLocation
extends Object
implements Location

Location that returns no info.

Author:
Santiago.PericasGeertsen@sun.com

Field Summary
static Location INSTANCE
           
 
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
 

Field Detail

INSTANCE

public static final Location INSTANCE
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 © 2005-2015 Oracle Corporation. All Rights Reserved.