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