textbender.g.xml.dom
Class DOMErrorWrapper

java.lang.Object
  extended by DOMErrorWrapper
All Implemented Interfaces:
DOMError

public abstract class DOMErrorWrapper
extends Object
implements DOMError

DOM error wrapper that passes calls to an underlying error instance.


Field Summary
protected  DOMError error
           
 
Fields inherited from interface org.w3c.dom.DOMError
SEVERITY_ERROR, SEVERITY_FATAL_ERROR, SEVERITY_WARNING
 
Constructor Summary
protected DOMErrorWrapper(DOMError error)
          Creates a DOMErrorWrapper.
 
Method Summary
 DOMLocator getLocation()
           
 String getMessage()
           
 Object getRelatedData()
           
 Object getRelatedException()
           
 short getSeverity()
           
 String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

error

protected final DOMError error
Constructor Detail

DOMErrorWrapper

protected DOMErrorWrapper(DOMError error)
Creates a DOMErrorWrapper.

Parameters:
error - underlying instance
Method Detail

getLocation

public DOMLocator getLocation()
Specified by:
getLocation in interface DOMError

getMessage

public String getMessage()
Specified by:
getMessage in interface DOMError

getRelatedData

public Object getRelatedData()
Specified by:
getRelatedData in interface DOMError

getRelatedException

public Object getRelatedException()
Specified by:
getRelatedException in interface DOMError

getSeverity

public short getSeverity()
Specified by:
getSeverity in interface DOMError

getType

public String getType()
Specified by:
getType in interface DOMError