code: protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
      SPType spType = (SPType) samlObject;
  
      if (spType.getType() != null && spType.getType().getValue() != null) {
        ElementSupport.appendTextContent(domElement, spType.getType().getValue());
      }
    }
docs: {@inheritDoc}