public class JAXBMetadataLogger
extends java.lang.Object
Class used to log warnings during the processing of JAXB annotations and OXM XML bindings files.
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
JAXBMetadataLogger()
Create a new JAXBMetadataLogger
|
JAXBMetadataLogger(int logLevel)
Create a new JAXBMetadataLogger and set the logLevel.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String NO_PROPERTY_FOR_JAVA_ATTRIBUTE
public static final java.lang.String INVALID_BOUND_TYPE
public static final java.lang.String NO_CLASSES_TO_PROCESS
public static final java.lang.String INVALID_JAVA_ATTRIBUTE
public static final java.lang.String INVALID_TYPE_ON_MAP
public JAXBMetadataLogger()
public JAXBMetadataLogger(int logLevel)
logLevel
- SessionLog
public void log(java.lang.String message, java.lang.Object[] args)
message
- The message to logargs
- The arguments corresponding with this messageSessionLog
public void logWarning(java.lang.String message, java.lang.Object[] args)
message
- The message to logargs
- The arguments corresponding with this messageSessionLog
public void logException(java.lang.Throwable throwable)
throwable
- SessionLog