Class RevocationReasonAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,RevocationReason>
-
- org.mozilla.jss.netscape.security.x509.RevocationReasonAdapter
-
public class RevocationReasonAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,RevocationReason>
The RevocationReasonAdapter class provides custom marshaling for RevocationReason.
-
-
Constructor Summary
Constructors Constructor Description RevocationReasonAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringmarshal(RevocationReason value)RevocationReasonunmarshal(java.lang.String value)
-
-
-
Method Detail
-
unmarshal
public RevocationReason unmarshal(java.lang.String value) throws java.lang.Exception
- Specified by:
unmarshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,RevocationReason>- Throws:
java.lang.Exception
-
marshal
public java.lang.String marshal(RevocationReason value) throws java.lang.Exception
- Specified by:
marshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,RevocationReason>- Throws:
java.lang.Exception
-
-