|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.bind.v2.runtime.RuntimeUtil
public class RuntimeUtil
| Nested Class Summary | |
|---|---|
static class |
RuntimeUtil.ToStringAdapter
XmlAdapter for printing arbitrary object by using Object.toString(). |
| Field Summary | |
|---|---|
static Map<Class,Class> |
boxToPrimitive
Map from Class objects representing primitive types
to Class objects representing their boxed types. |
static Map<Class,Class> |
primitiveToBox
Reverse map of boxToPrimitive. |
| Constructor Summary | |
|---|---|
RuntimeUtil()
|
|
| Method Summary | |
|---|---|
static void |
handlePrintConversionException(Object caller,
Exception e,
XMLSerializer serializer)
Reports a print conversion error while marshalling. |
static void |
handleTypeMismatchError(XMLSerializer serializer,
Object parentObject,
String fieldName,
Object childObject)
Reports that the type of an object in a property is unexpected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Map<Class,Class> boxToPrimitive
Class objects representing primitive types
to Class objects representing their boxed types.
e.g., int -> Integer.
public static final Map<Class,Class> primitiveToBox
boxToPrimitive.
| Constructor Detail |
|---|
public RuntimeUtil()
| Method Detail |
|---|
public static void handlePrintConversionException(Object caller,
Exception e,
XMLSerializer serializer)
throws SAXException
SAXException
public static void handleTypeMismatchError(XMLSerializer serializer,
Object parentObject,
String fieldName,
Object childObject)
throws SAXException
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||