/** {@inheritDoc} */ protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException { AttributeProfile profile = (AttributeProfile) samlObject; if (profile.getProfileURI() != null) { ElementSupport.appendTextContent(domElement, profile.getProfileURI()); } } }