EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jaxb.compiler
Class JAXBMetadataLogger

java.lang.Object
  extended by org.eclipse.persistence.jaxb.compiler.JAXBMetadataLogger

public class JAXBMetadataLogger
extends java.lang.Object

Class used to log warnings during the processing of JAXB annotations and OXM XML bindings files.


Field Summary
static java.lang.String INVALID_BOUND_TYPE
           
static java.lang.String INVALID_JAVA_ATTRIBUTE
           
static java.lang.String INVALID_TYPE_ON_MAP
           
static java.lang.String NO_CLASSES_TO_PROCESS
           
static java.lang.String NO_PROPERTY_FOR_JAVA_ATTRIBUTE
           
 
Constructor Summary
JAXBMetadataLogger()
          Create a new JAXBMetadataLogger
JAXBMetadataLogger(int logLevel)
          Create a new JAXBMetadataLogger and set the logLevel.
 
Method Summary
 void log(java.lang.String message, java.lang.Object[] args)
          Logs a message at the SessionLog.INFO level.
 void logException(java.lang.Throwable throwable)
          Logs a Severe message to the SessionLog.
 void logWarning(java.lang.String message, java.lang.Object[] args)
          Logs a Warning message to the SessionLog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_PROPERTY_FOR_JAVA_ATTRIBUTE

public static final java.lang.String NO_PROPERTY_FOR_JAVA_ATTRIBUTE
See Also:
Constant Field Values

INVALID_BOUND_TYPE

public static final java.lang.String INVALID_BOUND_TYPE
See Also:
Constant Field Values

NO_CLASSES_TO_PROCESS

public static final java.lang.String NO_CLASSES_TO_PROCESS
See Also:
Constant Field Values

INVALID_JAVA_ATTRIBUTE

public static final java.lang.String INVALID_JAVA_ATTRIBUTE
See Also:
Constant Field Values

INVALID_TYPE_ON_MAP

public static final java.lang.String INVALID_TYPE_ON_MAP
See Also:
Constant Field Values
Constructor Detail

JAXBMetadataLogger

public JAXBMetadataLogger()
Create a new JAXBMetadataLogger


JAXBMetadataLogger

public JAXBMetadataLogger(int logLevel)
Create a new JAXBMetadataLogger and set the logLevel.

Parameters:
logLevel -
See Also:
SessionLog
Method Detail

log

public void log(java.lang.String message,
                java.lang.Object[] args)
Logs a message at the SessionLog.INFO level.

Parameters:
message - The message to log
args - The arguments corresponding with this message
See Also:
SessionLog

logWarning

public void logWarning(java.lang.String message,
                       java.lang.Object[] args)
Logs a Warning message to the SessionLog.

Parameters:
message - The message to log
args - The arguments corresponding with this message
See Also:
SessionLog

logException

public void logException(java.lang.Throwable throwable)
Logs a Severe message to the SessionLog. Typically called when EclipseLink is not in a state to continue

Parameters:
throwable -
See Also:
SessionLog

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference