public class InetAddressStringBinding extends AbstractStringBinding<InetAddress> implements Binding<InetAddress,String>
Constructor and Description |
---|
InetAddressStringBinding() |
Modifier and Type | Method and Description |
---|---|
Class<InetAddress> |
getBoundClass()
Obtain the bound class
|
String |
marshal(InetAddress object)
Converts to the given object from the specified object
|
InetAddress |
unmarshal(String object)
Converts from the given String into the specified object
|
getTargetClass
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTargetClass
getTargetClass
public InetAddressStringBinding()
public InetAddress unmarshal(String object)
unmarshal
in interface FromUnmarshaller<InetAddress,String>
unmarshal
in class AbstractStringBinding<InetAddress>
object
- Object to transform, not nullpublic String marshal(InetAddress object)
marshal
in interface ToMarshaller<InetAddress,String>
marshal
in class AbstractStringBinding<InetAddress>
object
- Object to transform, not nullpublic Class<InetAddress> getBoundClass()
getBoundClass
in interface FromUnmarshaller<InetAddress,String>
getBoundClass
in interface ToMarshaller<InetAddress,String>
Copyright © 2010–2018 Jadira Systems. All rights reserved.