com.sun.xml.security.core.dsig.runtime
Class ZeroOneBooleanAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Boolean>
com.sun.xml.security.core.dsig.runtime.ZeroOneBooleanAdapter
public class ZeroOneBooleanAdapter
- extends XmlAdapter<String,Boolean>
Serializes boolean as 0 or 1.
- Since:
- 2.0
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZeroOneBooleanAdapter
public ZeroOneBooleanAdapter()
unmarshal
public Boolean unmarshal(String v)
- Specified by:
unmarshal in class XmlAdapter<String,Boolean>
marshal
public String marshal(Boolean v)
- Specified by:
marshal in class XmlAdapter<String,Boolean>
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.