Class RuntimeUtil.ToStringAdapter
java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Object>
org.glassfish.jaxb.core.v2.runtime.RuntimeUtil.ToStringAdapter
- Enclosing class:
- RuntimeUtil
XmlAdapter for printing arbitrary object by using
Object.toString().-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ToStringAdapter
public ToStringAdapter()Default constructor.
-
-
Method Details
-
unmarshal
Description copied from class:XmlAdapterConvert a value type to a bound type.- Specified by:
unmarshalin classXmlAdapter<String,Object> - Parameters:
s- The value to be converted. Can be null.
-
marshal
Description copied from class:XmlAdapterConvert a bound type to a value type.- Specified by:
marshalin classXmlAdapter<String,Object> - Parameters:
o- The value to be converted. Can be null.
-