*/
public class SubjectConfirmationMarshaller extends AbstractSAMLObjectMarshaller {
/** {@inheritDoc} */
protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException {
SubjectConfirmation sc = (SubjectConfirmation) samlObject;
if (sc.isSOAP11MustUnderstandXSBoolean() != null) {
XMLHelper.marshallAttribute(SubjectConfirmation.SOAP11_MUST_UNDERSTAND_ATTR_NAME,
sc.isSOAP11MustUnderstandXSBoolean().toString(), domElement, false);
}
if (sc.getSOAP11Actor() != null) {
XMLHelper.marshallAttribute(SubjectConfirmation.SOAP11_ACTOR_ATTR_NAME,
sc.getSOAP11Actor(), domElement, false);
}
if (sc.getMethod() != null) {
domElement.setAttributeNS(null, SubjectConfirmation.METHOD_ATTRIB_NAME, sc.getMethod());
}
}