Package org.opensaml.xacml.policy

Examples of org.opensaml.xacml.policy.VariableDefinitionType


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


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

    }
View Full Code Here

TOP

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

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.