Examples of MissingAttributeDetailType


Examples of org.opensaml.xacml.ctx.MissingAttributeDetailType

        super(targetNamespaceURI, targetLocalName);
    }

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        MissingAttributeDetailType madt = (MissingAttributeDetailType) xmlObject;

        if (madt.getAttributeId() != null) {
            domElement.setAttributeNS(null, MissingAttributeDetailType.ATTRIBUTE_ID_ATTRIB_NAME, madt.getAttributeId());
        }

        if (madt.getDataType() != null) {
            domElement.setAttributeNS(null, MissingAttributeDetailType.DATA_TYPE_ATTRIB_NAME, madt.getDataType());
        }

        if (madt.getIssuer() != null) {
            domElement.setAttributeNS(null, MissingAttributeDetailType.ISSUER_ATTRIB_NAME, madt.getIssuer());
        }
    }
View Full Code Here

Examples of org.opensaml.xacml.ctx.MissingAttributeDetailType

        super(targetNamespaceURI, targetLocalName);
    }

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        MissingAttributeDetailType madt = (MissingAttributeDetailType) xmlObject;

        if (attribute.getLocalName().equals(MissingAttributeDetailType.ATTRIBUTE_ID_ATTRIB_NAME)) {
            madt.setAttributeId(attribute.getValue());
        } else if (attribute.getLocalName().equals(MissingAttributeDetailType.DATA_TYPE_ATTRIB_NAME)) {
            madt.setDataType(attribute.getValue());
        } else if (attribute.getLocalName().equals(MissingAttributeDetailType.ISSUER_ATTRIB_NAME)) {
            madt.setIssuer(attribute.getValue());
        } else {
            super.processAttribute(xmlObject, attribute);
        }
    }
View Full Code Here

Examples of org.opensaml.xacml.ctx.MissingAttributeDetailType

    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        MissingAttributeDetailType madt = (MissingAttributeDetailType) parentXMLObject;
        if (childXMLObject instanceof AttributeValueType) {
            madt.getAttributeValues().add((AttributeValueType) childXMLObject);
        } else {
            super.processChildElement(parentXMLObject, childXMLObject);
        }
    }
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.