pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.xml.bind
Class BitSetPositionXmlAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<int[],java.util.BitSet>
      extended by org.torweg.pulse.util.xml.bind.BitSetPositionXmlAdapter

public class BitSetPositionXmlAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<int[],java.util.BitSet>

A XmlAdapter for BitSet.

Version:
$Revision: 1426 $
Author:
Daniel Dietz

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

Constructor Detail

BitSetPositionXmlAdapter

public BitSetPositionXmlAdapter()
Method Detail

marshal

public final int[] marshal(java.util.BitSet v)
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<int[],java.util.BitSet>
Parameters:
v - the BitSet to marshal
Returns:
boolean[]
See Also:
XmlAdapter.marshal(java.lang.Object)

unmarshal

public final java.util.BitSet unmarshal(int[] v)
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<int[],java.util.BitSet>
Parameters:
v - the int[] to unmarshal
Returns:
BitSet
See Also:
XmlAdapter.unmarshal(java.lang.Object)