public class TypedPropertiesAdapter extends XmlAdapter<org.infinispan.config.PropertiesType,TypedProperties>
| Constructor and Description |
|---|
TypedPropertiesAdapter() |
| Modifier and Type | Method and Description |
|---|---|
org.infinispan.config.PropertiesType |
marshal(TypedProperties tp)
Convert a bound type to a value type.
|
TypedProperties |
unmarshal(org.infinispan.config.PropertiesType props)
Convert a value type to a bound type.
|
public org.infinispan.config.PropertiesType marshal(TypedProperties tp) throws Exception
XmlAdaptermarshal in class XmlAdapter<org.infinispan.config.PropertiesType,TypedProperties>tp - The value to be convereted. Can be null.Exception - if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler.public TypedProperties unmarshal(org.infinispan.config.PropertiesType props) throws Exception
XmlAdapterunmarshal in class XmlAdapter<org.infinispan.config.PropertiesType,TypedProperties>props - The value to be converted. Can be null.Exception - if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.