public class JAXBMetadataLogger extends Object
Class used to log warnings during the processing of JAXB annotations and OXM XML bindings files.
| Modifier and Type | Field and Description | 
|---|---|
| static String | INVALID_BOUND_TYPE | 
| static String | INVALID_JAVA_ATTRIBUTE | 
| static String | INVALID_TYPE_ON_MAP | 
| static String | NO_CLASSES_TO_PROCESS | 
| static 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(String message,
   Object[] args)Logs a message at the SessionLog.INFO level. | 
| void | logException(Throwable throwable)Logs a Severe message to the SessionLog. | 
| void | logWarning(String message,
          Object[] args)Logs a Warning message to the SessionLog. | 
public static final String NO_PROPERTY_FOR_JAVA_ATTRIBUTE
public static final String INVALID_BOUND_TYPE
public static final String NO_CLASSES_TO_PROCESS
public static final String INVALID_JAVA_ATTRIBUTE
public static final String INVALID_TYPE_ON_MAP
public JAXBMetadataLogger()
public JAXBMetadataLogger(int logLevel)
logLevel - SessionLogpublic void log(String message, Object[] args)
message - The message to logargs - The arguments corresponding with this messageSessionLogpublic void logWarning(String message, Object[] args)
message - The message to logargs - The arguments corresponding with this messageSessionLogpublic void logException(Throwable throwable)
throwable - SessionLogCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.