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 BitSetXmlAdapter

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

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

A XmlAdapter for BitSet.

Version:
$Revision: 1426 $
Author:
Daniel Dietz

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

Constructor Detail

BitSetXmlAdapter

public BitSetXmlAdapter()
Method Detail

marshal

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