org.jboss.identity.federation.saml.v2.generated.runtime
Class ZeroOneBooleanAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>
      extended by org.jboss.identity.federation.saml.v2.generated.runtime.ZeroOneBooleanAdapter

public class ZeroOneBooleanAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>

Serializes boolean as 0 or 1.

Since:
2.0
Author:
Kohsuke Kawaguchi

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

Constructor Detail

ZeroOneBooleanAdapter

public ZeroOneBooleanAdapter()
Method Detail

unmarshal

public java.lang.Boolean unmarshal(java.lang.String v)
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>

marshal

public java.lang.String marshal(java.lang.Boolean v)
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>


Copyright © 2009 JBoss Inc.. All Rights Reserved.