Package org.opensaml.xacml.policy

Examples of org.opensaml.xacml.policy.VariableReferenceType


        super();
    }
   
    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        VariableReferenceType variableReferenceType = (VariableReferenceType) xmlObject;
       
        if(!DatatypeHelper.isEmpty(variableReferenceType.getVariableId())){
            domElement.setAttribute(VariableReferenceType.VARIABLE_ID_ATTRIB_NAME,
                    variableReferenceType.getVariableId());
        }
    }
View Full Code Here


   
    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
       
        if(attribute.getLocalName().equals(VariableReferenceType.VARIABLE_ID_ATTRIB_NAME)){
            VariableReferenceType variableReferenceType = (VariableReferenceType) xmlObject;
            variableReferenceType.setVariableId(DatatypeHelper.safeTrimOrNullString(attribute.getValue()));
        } else {
            super.processAttribute(xmlObject, attribute);
        }

    }
View Full Code Here

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
       
        if(childXMLObject instanceof ExpressionType){
            VariableReferenceType variableReferenceType = (VariableReferenceType) parentXMLObject;
            variableReferenceType.getExpressions().add((ExpressionType)childXMLObject);
        } else {
            super.processChildElement(parentXMLObject, childXMLObject);
        }

    }
View Full Code Here

TOP

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

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.