Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package javax.xml.bind.annotation.adapters;
 /*    */ 
 /*    */ import javax.xml.bind.DatatypeConverter;
 /*    */ 
 /*    */ public final class HexBinaryAdapter extends XmlAdapter<Stringbyte[]>
 /*    */ {
 /*    */   public byte[] unmarshal(String s)
 /*    */   {
 /* 21 */     if (s == nullreturn null;
/* 22 */     return DatatypeConverter.parseHexBinary(s);
/*    */   }
/*    */ 
/*    */   public String marshal(byte[] bytes) {
/* 26 */     if (bytes == nullreturn null;
/* 27 */     return DatatypeConverter.printHexBinary(bytes);
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     javax.xml.bind.annotation.adapters.HexBinaryAdapter
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X