public class PackageStringBinding extends AbstractStringBinding<Package> implements Binding<Package,String>
Constructor and Description |
---|
PackageStringBinding() |
Modifier and Type | Method and Description |
---|---|
Class<Package> |
getBoundClass()
Obtain the bound class
|
String |
marshal(Package object)
Converts to the given object from the specified object
|
Package |
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 PackageStringBinding()
public String marshal(Package object)
marshal
in interface ToMarshaller<Package,String>
marshal
in class AbstractStringBinding<Package>
object
- Object to transform, not nullpublic Package unmarshal(String object)
unmarshal
in interface FromUnmarshaller<Package,String>
unmarshal
in class AbstractStringBinding<Package>
object
- Object to transform, not nullpublic Class<Package> getBoundClass()
getBoundClass
in interface FromUnmarshaller<Package,String>
getBoundClass
in interface ToMarshaller<Package,String>
Copyright © 2010–2018 Jadira Systems. All rights reserved.