org.jvnet.staxex.util
Class DummyLocation

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

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

Location that returns no info.

Author:
Santiago.PericasGeertsen@sun.com

Field Summary
static javax.xml.stream.Location INSTANCE
           
 
Method Summary
 int getCharacterOffset()
           
 int getColumnNumber()
           
 int getLineNumber()
           
 java.lang.String getPublicId()
           
 java.lang.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 javax.xml.stream.Location INSTANCE
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


Copyright © 2006-2015. All Rights Reserved.