org.infinispan.config
Class TypedPropertiesAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<org.infinispan.config.PropertiesType,TypedProperties>
      extended by org.infinispan.config.TypedPropertiesAdapter

public class TypedPropertiesAdapter
extends XmlAdapter<org.infinispan.config.PropertiesType,TypedProperties>

TypedPropertiesAdapter is JAXB XmlAdapter for TypedProperties.

Since:
4.0
Author:
Vladimir Blagojevic

Constructor Summary
TypedPropertiesAdapter()
           
 
Method Summary
 org.infinispan.config.PropertiesType marshal(TypedProperties tp)
           
 TypedProperties unmarshal(org.infinispan.config.PropertiesType props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypedPropertiesAdapter

public TypedPropertiesAdapter()
Method Detail

marshal

public org.infinispan.config.PropertiesType marshal(TypedProperties tp)
                                             throws Exception
Specified by:
marshal in class XmlAdapter<org.infinispan.config.PropertiesType,TypedProperties>
Throws:
Exception

unmarshal

public TypedProperties unmarshal(org.infinispan.config.PropertiesType props)
                          throws Exception
Specified by:
unmarshal in class XmlAdapter<org.infinispan.config.PropertiesType,TypedProperties>
Throws:
Exception

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.