javax.xml.bind.helpers
Class ValidationEventImpl

java.lang.Object
  extended by javax.xml.bind.helpers.ValidationEventImpl
All Implemented Interfaces:
ValidationEvent
Direct Known Subclasses:
NotIdentifiableEventImpl, ParseConversionEventImpl, PrintConversionEventImpl

public class ValidationEventImpl
extends Object
implements ValidationEvent


Field Summary
 
Fields inherited from interface javax.xml.bind.ValidationEvent
ERROR, FATAL_ERROR, WARNING
 
Constructor Summary
ValidationEventImpl(int severity, String message, ValidationEventLocator locator)
           
ValidationEventImpl(int severity, String message, ValidationEventLocator locator, Throwable linkedException)
           
 
Method Summary
 Throwable getLinkedException()
           
 ValidationEventLocator getLocator()
           
 String getMessage()
           
 int getSeverity()
           
 void setLinkedException(Throwable linkedException)
           
 void setLocator(ValidationEventLocator locator)
           
 void setMessage(String message)
           
 void setSeverity(int severity)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationEventImpl

public ValidationEventImpl(int severity,
                           String message,
                           ValidationEventLocator locator)

ValidationEventImpl

public ValidationEventImpl(int severity,
                           String message,
                           ValidationEventLocator locator,
                           Throwable linkedException)
Method Detail

getSeverity

public int getSeverity()
Specified by:
getSeverity in interface ValidationEvent

setSeverity

public void setSeverity(int severity)

getMessage

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

setMessage

public void setMessage(String message)

getLinkedException

public Throwable getLinkedException()
Specified by:
getLinkedException in interface ValidationEvent

setLinkedException

public void setLinkedException(Throwable linkedException)

getLocator

public ValidationEventLocator getLocator()
Specified by:
getLocator in interface ValidationEvent

setLocator

public void setLocator(ValidationEventLocator locator)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.