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
XmlAdapterunmarshal 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
XmlAdaptermarshal 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 © 2018 JBoss by Red Hat. All rights reserved.