public class SwaRefAdapterMarker extends XmlAdapter<String,DataHandler>
Constructor and Description |
---|
SwaRefAdapterMarker() |
Modifier and Type | Method and Description |
---|---|
String |
marshal(DataHandler v)
Convert a bound type to a value type.
|
DataHandler |
unmarshal(String v)
Convert a value type to a bound type.
|
public DataHandler unmarshal(String v) throws Exception
XmlAdapter
unmarshal
in class XmlAdapter<String,DataHandler>
v
- The value to be converted. Can be null.Exception
- if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler
.public String marshal(DataHandler v) throws Exception
XmlAdapter
marshal
in class XmlAdapter<String,DataHandler>
v
- The value to be convereted. Can be null.Exception
- if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler
.Copyright © 2020 JBoss by Red Hat. All rights reserved.