public class StringAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.String>
XmlAdapter
that implements useful features after parsing XML
strings with JAXB.
Supported features are:
Constructor and Description |
---|
StringAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
marshal(java.lang.String v) |
java.lang.String |
unmarshal(java.lang.String v) |
public final java.lang.String unmarshal(java.lang.String v) throws java.lang.Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.String>
java.lang.Exception
public final java.lang.String marshal(java.lang.String v) throws java.lang.Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.String>
java.lang.Exception
Copyright © 2018. All Rights Reserved.