org.pentaho.platform.security.policy.rolebased.ws
Class RoleBindingStructAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<JaxbSafeRoleBindingStruct,RoleBindingStruct>
      extended by org.pentaho.platform.security.policy.rolebased.ws.RoleBindingStructAdapter

public class RoleBindingStructAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<JaxbSafeRoleBindingStruct,RoleBindingStruct>

Converts RoleBindingStruct into JAXB-safe object and vice-versa.

Author:
mlowery

Constructor Summary
RoleBindingStructAdapter()
           
 
Method Summary
 JaxbSafeRoleBindingStruct marshal(RoleBindingStruct v)
           
 RoleBindingStruct unmarshal(JaxbSafeRoleBindingStruct v)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleBindingStructAdapter

public RoleBindingStructAdapter()
Method Detail

marshal

public JaxbSafeRoleBindingStruct marshal(RoleBindingStruct v)
                                  throws Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JaxbSafeRoleBindingStruct,RoleBindingStruct>
Throws:
Exception

unmarshal

public RoleBindingStruct unmarshal(JaxbSafeRoleBindingStruct v)
                            throws Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JaxbSafeRoleBindingStruct,RoleBindingStruct>
Throws:
Exception