xades4j.xml.bind
Class Base64XmlAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,byte[]>
      extended by xades4j.xml.bind.Base64XmlAdapter

public class Base64XmlAdapter
extends XmlAdapter<String,byte[]>


Constructor Summary
Base64XmlAdapter()
           
 
Method Summary
 String marshal(byte[] value)
           
 byte[] unmarshal(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64XmlAdapter

public Base64XmlAdapter()
Method Detail

unmarshal

public byte[] unmarshal(String value)
                 throws Exception
Specified by:
unmarshal in class XmlAdapter<String,byte[]>
Throws:
Exception

marshal

public String marshal(byte[] value)
Specified by:
marshal in class XmlAdapter<String,byte[]>


Copyright © 2012. All Rights Reserved.