Package org.opensaml.ws.wstrust

Examples of org.opensaml.ws.wstrust.Renewing


*/
public class RenewingMarshaller extends AbstractWSTrustObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        Renewing renewing = (Renewing) xmlObject;
       
        if (renewing.isAllowXSBoolean() != null) {
            domElement.setAttributeNS(null, Renewing.ALLOW_ATTRIB_NAME, renewing.isAllowXSBoolean().toString());
        }
       
        if (renewing.isOKXSBoolean() != null) {
            domElement.setAttributeNS(null, Renewing.OK_ATTRIB_NAME, renewing.isOKXSBoolean().toString());
        }
    }
View Full Code Here


*/
public class RenewingUnmarshaller extends AbstractWSTrustObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        Renewing renewing = (Renewing) xmlObject;
       
        if (attribute.getLocalName().equals(Renewing.ALLOW_ATTRIB_NAME)) {
            renewing.setAllow(XSBooleanValue.valueOf(attribute.getValue()));
        } else if (attribute.getLocalName().equals(Renewing.OK_ATTRIB_NAME)) {
            renewing.setOK(XSBooleanValue.valueOf(attribute.getValue()));
        } else {
            super.processAttribute(xmlObject, attribute);
        }
    }
View Full Code Here

*/
public class RenewingMarshaller extends AbstractWSTrustObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        Renewing renewing = (Renewing) xmlObject;
       
        if (renewing.isAllowXSBoolean() != null) {
            domElement.setAttributeNS(null, Renewing.ALLOW_ATTRIB_NAME, renewing.isAllowXSBoolean().toString());
        }
       
        if (renewing.isOKXSBoolean() != null) {
            domElement.setAttributeNS(null, Renewing.OK_ATTRIB_NAME, renewing.isOKXSBoolean().toString());
        }
    }
View Full Code Here

*/
public class RenewingUnmarshaller extends AbstractWSTrustObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        Renewing renewing = (Renewing) xmlObject;
       
        if (attribute.getLocalName().equals(Renewing.ALLOW_ATTRIB_NAME)) {
            renewing.setAllow(XSBooleanValue.valueOf(attribute.getValue()));
        } else if (attribute.getLocalName().equals(Renewing.OK_ATTRIB_NAME)) {
            renewing.setOK(XSBooleanValue.valueOf(attribute.getValue()));
        } else {
            super.processAttribute(xmlObject, attribute);
        }
    }
View Full Code Here

TOP

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

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.