org.apache.woden.internal
Class ErrorLocatorImpl

java.lang.Object
  extended by org.apache.woden.internal.ErrorLocatorImpl
All Implemented Interfaces:
ErrorLocator

public class ErrorLocatorImpl
extends java.lang.Object
implements ErrorLocator

Represents the location of parsing error within a XML document. Based on org.xml.sax.Locator.

Author:
kaputin

Constructor Summary
ErrorLocatorImpl()
           
 
Method Summary
 int getColumnNumber()
           
 java.lang.String getDocumentBaseURI()
           
 int getLineNumber()
           
 java.lang.String getLocationURI()
           
 void setColumnNumber(int col)
          Set the column number of this locator.
 void setDocumentBaseURI(java.lang.String uri)
          Set the base URI of this locator.
 void setLineNumber(int line)
          Set the line number of this locator.
 void setLocationURI(java.lang.String uri)
          Set the location URI of this locator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorLocatorImpl

public ErrorLocatorImpl()
Method Detail

getDocumentBaseURI

public java.lang.String getDocumentBaseURI()
Specified by:
getDocumentBaseURI in interface ErrorLocator

getLocationURI

public java.lang.String getLocationURI()
Specified by:
getLocationURI in interface ErrorLocator

getLineNumber

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

getColumnNumber

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

setDocumentBaseURI

public void setDocumentBaseURI(java.lang.String uri)
Set the base URI of this locator.

Parameters:
uri - The URI of the base location to set.

setLocationURI

public void setLocationURI(java.lang.String uri)
Set the location URI of this locator.

Parameters:
uri - The URI of the location to set.

setLineNumber

public void setLineNumber(int line)
Set the line number of this locator.

Parameters:
line - The line number to set.

setColumnNumber

public void setColumnNumber(int col)
Set the column number of this locator.

Parameters:
col - The column number to set.


Copyright © 2007. All Rights Reserved.