FileDocCategorySizeDatePackage
OnBehalfOfImpl.javaAPI DocExample3900Tue May 29 16:57:00 BST 2007com.sun.xml.ws.security.trust.impl.elements

OnBehalfOfImpl

public class OnBehalfOfImpl extends com.sun.xml.ws.security.trust.impl.bindings.OnBehalfOfType implements com.sun.xml.ws.security.trust.elements.OnBehalfOf
author
Manveen Kaur

Fields Summary
private EndpointReference
epr
private com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference
str
Constructors Summary
public OnBehalfOfImpl(com.sun.xml.ws.security.trust.impl.bindings.OnBehalfOfType oboType)

    
      
        //ToDo
    
Methods Summary
public javax.xml.ws.EndpointReferencegetEndpointReference()

        return epr;
    
public com.sun.xml.ws.security.trust.elements.str.SecurityTokenReferencegetSecurityTokenReference()

        return str;
    
public voidsetEndpointReference(javax.xml.ws.EndpointReference endpointReference)

        epr = endpointReference;
       /* if (endpointReference != null) {
            JAXBElement<EndpointReferenceImpl> eprElement=
                    (new com.sun.xml.ws.security.trust.impl.bindings.ObjectFactory()).
                    createEndpointReference((EndpointReferenceImpl)endpointReference);
            setAny(eprElement);
        }*/
        str = null;
    
public voidsetSecurityTokenReference(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference ref)

        str = ref;
        if (ref != null) {
            final JAXBElement<SecurityTokenReferenceType> strElement=
                    (new com.sun.xml.ws.security.secext10.ObjectFactory()).createSecurityTokenReference((SecurityTokenReferenceType)ref);
            setAny(strElement);
        }
        epr = null;