org.springframework.util.xml
Class AbstractStaxXMLReader.StaxLocator

java.lang.Object
  extended by org.springframework.util.xml.AbstractStaxXMLReader.StaxLocator
All Implemented Interfaces:
org.xml.sax.Locator
Enclosing class:
AbstractStaxXMLReader

private static class AbstractStaxXMLReader.StaxLocator
extends java.lang.Object
implements org.xml.sax.Locator

Implementation of the Locator interface that is based on a StAX Location.

See Also:
Locator, Location

Field Summary
private  javax.xml.stream.Location location
           
 
Constructor Summary
protected AbstractStaxXMLReader.StaxLocator(javax.xml.stream.Location location)
           
 
Method Summary
 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

location

private javax.xml.stream.Location location
Constructor Detail

AbstractStaxXMLReader.StaxLocator

protected AbstractStaxXMLReader.StaxLocator(javax.xml.stream.Location location)
Method Detail

getPublicId

public java.lang.String getPublicId()
Specified by:
getPublicId in interface org.xml.sax.Locator

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface org.xml.sax.Locator

getLineNumber

public int getLineNumber()
Specified by:
getLineNumber in interface org.xml.sax.Locator

getColumnNumber

public int getColumnNumber()
Specified by:
getColumnNumber in interface org.xml.sax.Locator