public class TimeUnitAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.concurrent.TimeUnit>
TimeUnitAdapter
is a simple adapter to convert between Strings
and instances of the TimeUnit
enumerationConstructor and Description |
---|
TimeUnitAdapter() |
public java.lang.String marshal(java.util.concurrent.TimeUnit v) throws java.lang.Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.concurrent.TimeUnit>
java.lang.Exception
public java.util.concurrent.TimeUnit unmarshal(java.lang.String v) throws java.lang.Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.concurrent.TimeUnit>
java.lang.Exception
Copyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.