Examples of AdditionalMetadataLocation


Examples of org.opensaml.saml2.metadata.AdditionalMetadataLocation

public class AdditionalMetadataLocationUnmarshaller extends AbstractSAMLObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
        if (attribute.getLocalName().equals(AdditionalMetadataLocation.NAMESPACE_ATTRIB_NAME)) {
            AdditionalMetadataLocation aml = (AdditionalMetadataLocation) samlObject;
            aml.setNamespaceURI(attribute.getValue());
        } else {
            super.processAttribute(samlObject, attribute);
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.metadata.AdditionalMetadataLocation

        }
    }

    /** {@inheritDoc} */
    protected void processElementContent(XMLObject samlObject, String elementContent) {
        AdditionalMetadataLocation aml = (AdditionalMetadataLocation) samlObject;
        aml.setLocationURI(elementContent);
    }
View Full Code Here

Examples of org.opensaml.saml2.metadata.AdditionalMetadataLocation

*/
public class AdditionalMetadataLocationMarshaller extends AbstractSAMLObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject samlElement, Element domElement) throws MarshallingException {
        AdditionalMetadataLocation aml = (AdditionalMetadataLocation) samlElement;

        if (aml.getNamespaceURI() != null) {
            domElement.setAttributeNS(null, AdditionalMetadataLocation.NAMESPACE_ATTRIB_NAME, aml.getNamespaceURI());
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.metadata.AdditionalMetadataLocation

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
        super.marshallElementContent(samlObject, domElement);

        AdditionalMetadataLocation aml = (AdditionalMetadataLocation) samlObject;
        if (aml.getLocationURI() != null) {
            domElement.appendChild(domElement.getOwnerDocument().createTextNode(aml.getLocationURI()));
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.metadata.AdditionalMetadataLocation

    }

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
        if (attribute.getLocalName().equals(AdditionalMetadataLocation.NAMESPACE_ATTRIB_NAME)) {
            AdditionalMetadataLocation aml = (AdditionalMetadataLocation) samlObject;
            aml.setNamespaceURI(attribute.getValue());
        } else {
            super.processAttribute(samlObject, attribute);
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.metadata.AdditionalMetadataLocation

        }
    }

    /** {@inheritDoc} */
    protected void processElementContent(XMLObject samlObject, String elementContent) {
        AdditionalMetadataLocation aml = (AdditionalMetadataLocation) samlObject;
        aml.setLocationURI(elementContent);
    }
View Full Code Here

Examples of org.opensaml.saml2.metadata.AdditionalMetadataLocation

        super(namespaceURI, elementLocalName);
    }

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject samlElement, Element domElement) throws MarshallingException {
        AdditionalMetadataLocation aml = (AdditionalMetadataLocation) samlElement;

        if (aml.getNamespaceURI() != null) {
            domElement.setAttributeNS(null, AdditionalMetadataLocation.NAMESPACE_ATTRIB_NAME, aml.getNamespaceURI());
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.metadata.AdditionalMetadataLocation

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
        super.marshallElementContent(samlObject, domElement);

        AdditionalMetadataLocation aml = (AdditionalMetadataLocation) samlObject;
        if (aml.getLocationURI() != null) {
            domElement.appendChild(domElement.getOwnerDocument().createTextNode(aml.getLocationURI()));
        }
    }
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.