Package org.opensaml.ws.wstrust

Examples of org.opensaml.ws.wstrust.UseKey


*/
public class UseKeyUnmarshaller extends AbstractWSTrustObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        UseKey uk = (UseKey) xmlObject;
       
        if (UseKey.SIG_ATTRIB_NAME.equals(attribute.getLocalName())) {
            uk.setSig(attribute.getValue());
        } else {
            super.processAttribute(xmlObject, attribute);
        }
    }
View Full Code Here


    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        UseKey uk = (UseKey) parentXMLObject;
        uk.setUnknownXMLObject(childXMLObject);
    }
View Full Code Here

*/
public class UseKeyMarshaller extends AbstractWSTrustObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        UseKey useKey = (UseKey) xmlObject;
        if (useKey.getSig() != null) {
            domElement.setAttributeNS(null, UseKey.SIG_ATTRIB_NAME, useKey.getSig());
        }
        super.marshallAttributes(xmlObject, domElement);
    }
View Full Code Here

*/
public class UseKeyMarshaller extends AbstractWSTrustObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        UseKey useKey = (UseKey) xmlObject;
        if (useKey.getSig() != null) {
            domElement.setAttributeNS(null, UseKey.SIG_ATTRIB_NAME, useKey.getSig());
        }
        super.marshallAttributes(xmlObject, domElement);
    }
View Full Code Here

*/
public class UseKeyUnmarshaller extends AbstractWSTrustObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        UseKey uk = (UseKey) xmlObject;
       
        if (UseKey.SIG_ATTRIB_NAME.equals(attribute.getLocalName())) {
            uk.setSig(attribute.getValue());
        } else {
            super.processAttribute(xmlObject, attribute);
        }
    }
View Full Code Here

    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        UseKey uk = (UseKey) parentXMLObject;
        uk.setUnknownXMLObject(childXMLObject);
    }
View Full Code Here

TOP

Related Classes of org.opensaml.ws.wstrust.UseKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.