Examples of VariableDefinitionType


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

Examples of org.opensaml.xacml.policy.VariableDefinitionType

   
    /** {@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
Copyright © 2018 www.massapi.com. 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.