Package org.opensaml.xacml.policy

Examples of org.opensaml.xacml.policy.PolicyCombinerParametersType


        super();
    }

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        PolicyCombinerParametersType policyCombinerParametersType = (PolicyCombinerParametersType)xmlObject;
       
        if(!DatatypeHelper.isEmpty(policyCombinerParametersType.getPolicyIdRef())){
            domElement.setAttribute(PolicyCombinerParametersType.POLICY_ID_REF_ATTRIB_NAME,
                    policyCombinerParametersType.getPolicyIdRef());
        }    
        super.marshallAttributes(xmlObject, domElement);
    }
View Full Code Here


   
    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
     
        if(attribute.getLocalName().equals(PolicyCombinerParametersType.POLICY_ID_REF_ATTRIB_NAME)){
            PolicyCombinerParametersType policyCombinerParametersType = (PolicyCombinerParametersType)xmlObject;
            policyCombinerParametersType.setPolicyIdRef(DatatypeHelper.safeTrimOrNullString(attribute.getValue()));
        } else {
            super.processAttribute(xmlObject, attribute);
        }
    }
View Full Code Here

TOP

Related Classes of org.opensaml.xacml.policy.PolicyCombinerParametersType

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.