public class TwoWayString2FieldBridgeAdaptor extends String2FieldBridgeAdaptor implements TwoWayFieldBridge
Constructor and Description |
---|
TwoWayString2FieldBridgeAdaptor(TwoWayStringBridge stringBridge) |
Modifier and Type | Method and Description |
---|---|
Object |
get(String name,
Document document)
Build the element object from the
Document |
String |
objectToString(Object object)
Converts the object representation to a string.
|
String |
toString() |
TwoWayStringBridge |
unwrap() |
set, setAppliedOnType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
set
public TwoWayString2FieldBridgeAdaptor(TwoWayStringBridge stringBridge)
public String objectToString(Object object)
StringBridge
objectToString
in interface StringBridge
objectToString
in interface TwoWayFieldBridge
objectToString
in class String2FieldBridgeAdaptor
object
- The object to transform into a string representation.null
. It can be empty though.public Object get(String name, Document document)
TwoWayFieldBridge
Document
get
in interface TwoWayFieldBridge
name
- field namedocument
- documentpublic TwoWayStringBridge unwrap()
public String toString()
toString
in class String2FieldBridgeAdaptor
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved