ch.elca.el4j.tests.remoting.jaxws.service
Class IntMatrixAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,int[][]>
      extended by ch.elca.el4j.tests.remoting.jaxws.service.IntMatrixAdapter

public class IntMatrixAdapter
extends XmlAdapter<String,int[][]>

This class is an adapter which converts int[][] to String and back.

Author:
Stefan Wismer (SWI)
File-location:
IntMatrixAdapter
Last check-in date:
2009-08-04 15:06:35 +0200 (Di, 04. Aug 2009) by swismer for revision 3878

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

Constructor Detail

IntMatrixAdapter

public IntMatrixAdapter()
Method Detail

marshal

public String marshal(int[][] v)
               throws Exception

Specified by:
marshal in class XmlAdapter<String,int[][]>
Throws:
Exception

unmarshal

public int[][] unmarshal(String v)
                  throws Exception

Specified by:
unmarshal in class XmlAdapter<String,int[][]>
Throws:
Exception


Copyright © 2005-2011 ELCA. All Rights Reserved.