Package org.opensaml.xacml.policy

Examples of org.opensaml.xacml.policy.RuleCombinerParametersType


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


    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        RuleCombinerParametersType ruleCombinerParametersType = (RuleCombinerParametersType) parentXMLObject;
       
        if(childXMLObject instanceof CombinerParameterType){
            ruleCombinerParametersType.getCombinerParameters().add((CombinerParameterType)childXMLObject);
        } else {
            super.processChildElement(parentXMLObject, childXMLObject);
        }
    }
View Full Code Here

        super();
    }

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        RuleCombinerParametersType ruleCombinerParametersType = (RuleCombinerParametersType)xmlObject;
       
        if(!DatatypeHelper.isEmpty(ruleCombinerParametersType.getRuleIdRef())){
            domElement.setAttribute(RuleCombinerParametersType.RULE_ID_REF_ATTRIB_NAME,
                    ruleCombinerParametersType.getRuleIdRef());
        }       
    }
View Full Code Here

TOP

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

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.