Class SwaRefAdapterMarker
java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,DataHandler>
org.glassfish.jaxb.core.v2.runtime.SwaRefAdapterMarker
Marker class used to identify swaref attachments and to generate appropriate annotations later.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert a bound type to a value type.Convert a value type to a bound type.
-
Constructor Details
-
SwaRefAdapterMarker
public SwaRefAdapterMarker()Default constructor.
-
-
Method Details
-
unmarshal
Description copied from class:XmlAdapterConvert a value type to a bound type.- Specified by:
unmarshalin classXmlAdapter<String,DataHandler> - Parameters:
v- The value to be converted. Can be null.- Throws:
Exception- if there's an error during the conversion. The caller is responsible for reporting the error to the user throughValidationEventHandler.
-
marshal
Description copied from class:XmlAdapterConvert a bound type to a value type.- Specified by:
marshalin classXmlAdapter<String,DataHandler> - Parameters:
v- The value to be converted. Can be null.- Throws:
Exception- if there's an error during the conversion. The caller is responsible for reporting the error to the user throughValidationEventHandler.
-